Gary的个人技术记录

Python uses PyInstaller to package exe and dependencies and implement version management

Original link: https://fugary.com/?p=516 Recently, a GUI tool written in Python of the company needs to be distributed to the company’s employees. Currently, the single-file packaging mode is used to generate an exe file (only for Windows ). After packaging, some dependent files and folders need to be distributed together. Currently Distribution and subsequent automatic updates …

Python uses PyInstaller to package exe and dependencies and implement version management Read More »

ChatGPT uses Java, JavaScript, Go, C, C++ and Python to exchange two variable values ​​​​with functions

Original link: https://fugary.com/?p=506 Languages ​​that support pointers are very convenient to implement variable exchange. Languages ​​that do not support pointers are easier to implement with tuple or array destructuring. However, Java does not seem to be able to exchange the values ​​​​of two variables directly with functions, unless they are wrapped with objects or arrays. …

ChatGPT uses Java, JavaScript, Go, C, C++ and Python to exchange two variable values ​​​​with functions Read More »

The most distinctive features of the Java language summarized by ChatGPT

Original link: https://fugary.com/?p=503 The following are code examples of several of the most distinctive features of the Java language, grouped by feature: Object-Oriented Programming (OOP) Java is an object-oriented programming language that supports object-oriented features such as encapsulation, inheritance, and polymorphism. // 封装class Car { private String brand; private int price; public void setBrand(String brand) …

The most distinctive features of the Java language summarized by ChatGPT Read More »

The most distinctive features of the Go language summarized by ChatGPT

Original link: https://fugary.com/?p=500 The following are some of the most distinctive features of the Go language, with corresponding code examples: concurrent programming The Go language natively supports lightweight concurrency, and implements concurrent programming through goroutines and channels. package main import ( “fmt” “time” ) func printMessage(message string) { for i := 0; i < 5; …

The most distinctive features of the Go language summarized by ChatGPT Read More »

AI drawing Midjourney trial

Original link: https://fugary.com/?p=492 AI drawing is quite popular recently, and Wenxin Yiyan’s drawing is also used. I feel that the drawing effect of Wenxin Yiyan is not very good. The famous foreign AI drawing is stable diffusion and Midjourney . Try to register a midjourney and have a try. register log in At present, Midjourney …

AI drawing Midjourney trial Read More »

z-library revived, latest address

Original link: https://fugary.com/?p=471 z-library was closed for a long time last year and has recently been revived. Zlibrary is one of the largest online libraries in the world, it has more than 12,140,413 books and 84,837,000 articles. From various well-known literary works, science and engineering, humanities and arts, to academic papers, etc.! Supporting PDF, epub, …

z-library revived, latest address Read More »

z-library revived, latest address

z-library was closed for a long time last year and has recently been revived. Zlibrary is one of the largest online libraries in the world, it has more than 12,140,413 books and 84,837,000 articles. From various well-known literary works, science and engineering, humanities and arts, to academic papers, etc.! Supporting PDF, epub, mobi and other …

z-library revived, latest address Read More »