Insight: zig programming language
Insight into the latest and most valuable projects: This issue introduces the Zig programming language
brief introduction
Zig is a modern programming general purpose programming language and a strong competitor for C.
Zig is a general-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Hom ...
Posted by dancingbear on Sun, 06 Mar 2022 18:17:55 +0100
Solutions to the 283 Weekly Match
This topic is not difficult, but there is still something to learn to write simple and elegant code.
Topic 1
Force buckle
class Solution:
def cellsInRange(self, s: str) -> List[str]:
ans = []
a,b,c,d = s[0],s[1],s[3],s[4]
for i in range(ord(a), ord(c)+1):
for j in range(int(b),int(d)+1):
...
Posted by ShadowX on Sun, 06 Mar 2022 18:14:37 +0100
[spring] how to use dynamic proxy in AOP
Ideas of this paper
How to implement dynamic proxy in jdk, cglib and spring.
spring implements ProxyFactory details of dynamic agents.
Understand the general idea of AOP implementation from the use of ProxyFactory.
What is an agent
Provide a proxy for other objects to control access to this object, enhance a method in a class, and extend the ...
Posted by hex on Sun, 06 Mar 2022 18:14:05 +0100
Multithreaded Execution Order
Sample code:
public class App {
static Thread thread1 = new Thread(() -> System.out.println("thread1"));
static Thread thread2 = new Thread(() -> System.out.println("thread2"));
static Thread thread3 = new Thread(() -> System.out.println("thread3"));
public static void main(String[] args) {
thread1.start() ...
Posted by Dan_Mason on Sun, 06 Mar 2022 18:10:17 +0100
Hello Qt -- Qt custom title bar
1, Introduction to Qt custom title bar
The title bar of QWidget and its subclass form components is controlled by the operating system, that is, the interface style of the title bar is the same as the theme style of the operating system. In engineering practice, developers need to define it by themselves to beautify the application interface. ...
Posted by infomamun on Sun, 06 Mar 2022 17:54:12 +0100
Deep learning linear algebra, probability and information theory
(3) Probability and information theory)
2, Linear algebra
Purpose: it is mainly to reduce the dimension of data and restore or build the target with the least data
2.1 eigenvalue decomposition
Only symmetric positive definite matrix can be decomposed into eigenvalues. Eigenvalue decomposition: A = P * B * PT, where B is the diagonal mat ...
Posted by GeertDD on Sun, 06 Mar 2022 17:43:45 +0100
java learning notes week 8
1, Reflection mechanism
1. Overview of reflection mechanism
1.1 reflection mechanism
1.2 package of reflection mechanism related classes
Reflection mechanism in Java lang.Class.* Bao Xia
1.3 important classes related to reflection mechanism
1.4 three ways to obtain Class
package reflex;
import java.util.Date;
/**
* To ...
Posted by bogeyman on Sun, 06 Mar 2022 17:31:56 +0100
Hello Qt -- user defined interface
1, User defined interface introduction
UI design refers to the overall design of human-computer interaction, operation logic and beautiful interface of software. Excellent UI design not only makes the software personalized and tasteful, but also makes the operation of the software comfortable, simple and free, which fully reflects the position ...
Posted by zenon on Sun, 06 Mar 2022 17:31:49 +0100
❀ spring 5 learning summary
1, Understand the basic introduction and main ideas of Spring IoC/DI
1. Understand the basic introduction of Spring
(1) What is spring?
Spring is an open source framework for lightweight DI/IoC and AOP containers. It is committed to building lightweight Java EE applications and simplifying application development. It covers traditional applica ...
Posted by ankur0101 on Sun, 06 Mar 2022 17:21:59 +0100
Hello Qt -- QtDBus quick start
1, Introduction to QtDBus
QtDBus is a Unix only library that uses D-Bus protocol for inter process communication. It is the encapsulation and implementation of the underlying API of D-Bus.
QtDBus module provides an interface extended by Qt signal slot mechanism. To use the QtDBus module, you need to add the following code to the code:
#inclu ...
Posted by OpSiS on Sun, 06 Mar 2022 17:18:14 +0100