The notes are study notes compiled by myself. If there are any mistakes, please point them out~ [Django column] Django–Introduction to Django, installation of Django, creating projects, and getting started quickly Django – templates, static files, django template syntax, requests and responses Django – connect to mysql database Django–templates, static files, django template syntax, requests […]
Tag: quest
ESP32 IDF development application? http request
ESP32 IDF development application? http request 1. The blogger’s purpose for writing this technical article: 2. Overview 3. HTTP request 4. HTTP response 6. HTTP response status code 7. Introduction to related APIs 8. Software design 9. Example 10. Debugging results Don’t get lost-Navigation bar Quickly navigate to find what you want (article directory) If […]
Synchronization Quest: Understanding the differences and applications of System V and POSIX semaphores
Directory title 1. Introduction 1.1 Overview of the importance of semaphores 1.2 Purpose of this article: Compare System V and POSIX semaphores 2. Basics of Semaphores 2.1 Definition and Function of Semaphores 2.2 The role of semaphores in process synchronization (Role in Process Synchronization) Synchronization and Mutual Exclusion The similarity between the psychology of semaphores […]
Can requests initiated by JS in the front end be paused?
Recommend a practical interview question bank to everyone 1. Front-end interview question bank (Essential for interviews) Recommended: Address: Web front-end interview question bank This question is very interesting. As soon as I saw it, I thought of a lot of answers to it, but the comment area was too narrow, so I just opened an […]
Wen Xin Yi Yan VS iFlytek Spark VS chatgpt (134) — Introduction to Algorithms 11.2 6 questions
6. Using Go language, assume that n keywords are stored in a hash table of size m and conflicts are resolved through the chaining method. At the same time, the length of each chain is known, including the length L of the longest chain. Please describe the process of selecting an element uniformly and randomly […]
Wen Xin Yi Yan VS iFlytek Spark VS chatgpt (133) — Introduction to Algorithms 11.2 5 questions
5. Using Go language, assume that a set with n keywords is stored in a hash table of size m. Try to explain that if these keywords all originate from the universe U, and |U|>nm, then there is a subset of size n in U, which consists of all keywords hashed to the same slot, […]
Wen Xin Yi Yan VS iFlytek Spark VS chatgpt (132) — Introduction to Algorithms 11.2 4 questions
4. Using Go language, explain how to allocate and release the storage space occupied by elements by linking all unoccupied slots into a free linked list inside the hash table. It is assumed that a slot can store a flag, an element plus one or two pointers. All dictionary and free linked list operations should […]
1175 Professional Ability Test – PAT Level A Real Exam Questions
Professional Ability Test (PAT) consists of several series of subject tests. Each test is divided into several levels. Level A is a prerequisite of Level B if one must pass Level A with a score no less than S in order to be qualified to take Level B. At the mean time, one who passes […]
Generative AI – Knowledge Graph Prompting: A multi-document question answering method based on large models
Large language models (LLMs) have revolutionized natural language processing (NLP) tasks. They change the way we interact with and process text data. These powerful AI models, such as OpenAI’s GPT-4, have changed the way human-like text is understood and generated, leading to numerous breakthrough applications across a variety of industries. LangChain is an open source […]
Django ORM-based CURD, foreign key association, request life cycle
Article directory CURD based on ORM ORM foreign key association Django request life cycle flow chart CURD based on ORM In essence, it is to add, delete, modify and check the data in the database through object-oriented method. Here we will combine all our previous content together. First, make sure that the UserInfo table has […]