• Swift (compatibility with Objective-C)


    Although the original intention of swift language is to get rid of the heavy historical burden and constraints of Objective-C, it is undeniable that after more than 20 years of baptism, cocoa framework has long been branded with the indelible mark of Objective-C. Countless third-party libraries are written in Objective-C. no one can underestimate these […]

  • Analysis of blockcanary source code


    Analysis of blockcanary source code Before explaining the source code of blockcanal, we still need to add some pre knowledge points. This article doesn’t talk about the principle of handler. Students who don’t understand it go to Baidu to have a look. What is carton Before we talk about the Caton problem, we need to […]

  • See, this is what modern PHP should look like


    This is a community collaborative translation article. The translation has been completed. For more information, please clickIntroduction to collaborative translation 。 The title of the article is really pretentious, isn’t it? Yes, although we have worked with PHP for many years, can we tell which are the best practices and tools? I can’t, but I’m going […]

  • Spring boot static resource access control and encapsulation integration scheme


    background Recently, we are working on the optimization of the company’s framework and the practical application of the project. The original scheme is that the front and back ends of springboot + HTML are separately deployed, and the back-end personnel work part-time on the front-end development, and the subsequent product line business is optimized. The […]

  • Recommendation of excellent speed background development framework based on thinkphp6 layui


    Many times, when we are doing project development, we suffer from the lack of better wheels. If we develop by ourselves, it will be too time-consuming. If we adopt Vue, the learning cost and debugging will be troublesome, And sometimes the things selected by Party A are not easy to accept. Now we introduce an […]

  • Understanding of callback function (I)


    The elegant code processing methods used in too many frameworks on the market now dazzle developers, which puts higher requirements on the quality of framework users. In fact, the elegant methods used in the framework have the most basic sources, but it is not the framework author who fully integrates them into the bottom of […]

  • [GitHub] javascript trend chart project (week 41)


    1. Asabeneh/30-Days-Of-React Project address: https://github.com/Asabeneh/30-Days-Of-React ⭐:2,363 | forks:576 | 658 stars this week The 30 day react challenge is a step-by-step learning guide for react. This challenge requires a medium level of knowledge of HTML, CSS and JavaScript. It is recommended that you be proficient in JavaScript before using react. If you are not satisfied […]

  • Python automated testing — don’t rush to type code


    When learning Python automation, do you install the environment and start typing the code directly to try to run the program?The first thing to be clear is the test process! Automated testing is to write code and script to make the software run automatically, find defects and replace some manual testing. The essence of automated […]

  • The magic weapon of training 100 billion parameter model is to ascend cann heterogeneous computing architecture~


    Summary:Pangu’s training is based on the “shengteng AI processor” and with the help of the “cann heterogeneous computing architecture”, so that the hardware computing power can be fully released and the training time can be greatly shortened! In April 2021, “Huawei cloud Pangu model” became popular in the field of AI Artificial Intelligence. If Mingming […]

  • Getting started with SSM spring


    Getting started with SSM spring Spring framework is an open source J2EE application framework initiated by rod Johnson. It is a lightweight container for managing the life cycle of beans. Getting to know spring Start with simple engineering: Create entity class: Create the spring configuration XML file under the resources directory: Each bean represents an […]

  • Python realizes the function of automatic video coding


    When we watch the video, sometimes there are some strange mosaics, which affect our viewing experience. How can these mosaics be added accurately? This time, let’s use Python to automatically code the video! preparation Environment we still use Python 3 8 and pycharm2021 Implementation principle Divide video into audio and picture; Compare the face with […]

  • 【GO】grpc


    reference material https://www.jianshu.com/p/9ea…https://www.cnblogs.com/baosh…http://doc.oschina.net/grpc?t…https://pkg.go.dev/google.gol…https://www.jianshu.com/p/b72…https://grpc.io/docs/language…https://www.cnblogs.com/ExMan…https://blog.csdn.net/u011518…https://grpc.io/docs/language…https://www.cnblogs.com/aweso…https://blog.csdn.net/zhangmi…https://blog.csdn.net/xp17817… 1. Concept RPC(remote procedure callRemote procedure call) actually provides a set of framework mechanism, so that applications on different machines in the network can communicate and call each other, and also comply withserver/clientModel. Called by the client when usingserverThe interface provided by the client is like calling a local function. Generally, RPC […]