Вышел Python 3.13. Что в этом для не знакомых с Python?
Куй железо не отходя от кассы
Иными словами, Вы тут же захотите его попробовать - самое время, это стало (много) приятнее чем когда-либо.
Что делать и кто виноват
Виноват, очевидно, Гугол - запоздал с увольнениями в команде Python. А делать придётся компиляцию из сорцов - даже в AUR сейчас RC1. Как - на примере Arch в форме EndeavourOS.
Python часть системы, но он 12, поэтому 13 нужно держать отдельно. Скачав с python.org и распаковав
./configure --enable-optimizations --with-lto --enable-experimental-jit=yes --prefix=/home/andy/.python
make
Конечно, чего-то да не хватит, но об этом будет чётко сказано, поэтому и например
yay clang
yay llvm
make
Будет чётко сказано чего не получилось, за 12 такого не помню, у меня - без tkinter. Ну и ладненько. Поскольку make test придумали трусы,
make install
~/.python/bin/python3 -m venv Python13Env
cd Python13Env
python
И наслаждаемся новыми фишками - редактируем процедуры и выходим легко, как по мне - самое очевидное. И да, на первом же (дурацком) тесте - на 10% быстрее.
OpenAI has recently launched a new feature called Canvas for ChatGPT, designed to enhance users' interactions with AI for writing and coding projects. This new interface aims to provide a more collaborative and interactive experience, moving beyond the traditional chat format. In this article, I'll cover the top features of ChatGPT Canvas and show how to use it.
While in 2024 using XML looks a bit outdated, it still happens. And sometimes it happens we are to deal with XML having "free-structure", i.e. it couldn't be parsed into tree of user-defined structs. For JSON there still is a way to parse it with a single call into map[string]any and work with it using careful type assertions. Regretfully, there is no similar feature for XML (in Golang). Here I'll draft suitable function and demonstrate it - both for others and for myself if I ever need this again (recreating it from scratch may be somewhat painful).
CAPTCHA is not just a single word that can be defined; it's an acronym consisting of nine words (and two prepositions): Completely Automated Public Turing Test To Tell Computers and Humans Apart. This mouthful was shortened to the concise CAPTCHA to avoid creating yet another hard-to-pronounce term. Translated into Russian, this abbreviation sounds like "Полностью автоматизированный публичный тест Тьюринга для различения компьютеров и людей" (Fully Automated Public Turing Test to Differentiate Computers and Humans).
Did you know you can run powerful AI models right on your computer? It's true! Today, I will show you how easy it is to get started with Llama 3.2 and OpenWebUI.
Wilhelm Röntgen discovered X-ray November 8th 1895, when he did experiments with cathode rays in a vacuum tube. To capture and save images of the shadows from the X-rays, he used ordinary photoplates. Fortunately, sensitive to visible light silver based photoemulsions turned out to be sensitive to the X-ray too. These photoplates became the first X-ray detectors.
More than 100 years of scientific progress led to the creation of a number of various detectors for recording X-ray images. Developments of the microelectronics and semiconductor manufacturing technologies are crucial for development of the modern X-ray detectors. These detectors can transform the energy of the X-ray photon directly to the electrical signal. They allow capturing detailed, digital, high-resolution X-ray images.
Digital images are easy to work with. For example one can merge multiple macro images into an image of the whole object and represent monochrome images in false colors like Simon Procz did with this X-ray image of a flower he did in 2012.
Did you know that coding tools have evolved so rapidly that they're now shaping the future of programming itself? As technology advances, platforms like Replit are leading the charge, making coding more accessible and collaborative than ever before. In this article, I'll show you what Replit is and how to use it.
Hi all! The dev.family team is in touch. In this article, we are sharing a short guide on how to install Splash Screen in a cross-platform app written in React Native with support for multiple themes.
Splash screen is the first screen that users see before loading into the main application. This screen is perhaps the best way to make the name of your app, and in general, its entire name, more memorable.
But this is not the main role of the splash screen. Under it, for example, you can hide receiving data from the API and loading the main application. We do this when we show the loader on the screen when loading the same data. This allows you to improve the UX and immediately demonstrate the finished application to the user. And as a result, remove the extra loader when opening it for the first time.
In this short guide, we will look at installing splash screens for iOS and Android using the react-native framework using the react-native-splash-screen library.
Today, we'll explore Cursor AI. Whether you're an experienced developer or a beginner, this article will be helpful because this tool will change how we code.
Recently I have bought starfive visionfive-2 SoC for my own experiments, honestly speaking I am striving to work with risc-v. After some time I decided to share my experience. Here my bulletpoints:
Small preparation USB-to-Serial connector Write image to microSD/SSD Set boot mode settings
Boot Update bootloader Build kernel Native build Pod build Cross-build on amd64: fast and handy
Chroot to risc-v system from amd64 and install packages
Over the past two years, artificial intelligence has become one of the main topics in the media and many famous people have expressed their thoughts on this topic. But if you start searching on the Internet for collections of quotes about AI, you will mostly find quotes from CEOs of multi-billion dollar companies, futurists and scientists conducting research in this field. Moreover, these collections are so similar to each other, which sometimes gives the impression that they were compiled by AI. In this article, I have collected quotes from world famous people who are usually not included in such collections of quotes:
One day, I was once again looking for a 3d model on stock for my project and came across a neural network that can create high-quality 3d models in just a couple of clicks. And I wondered if it would be possible to create something like a music video using only the capabilities of existing neural networks?
If you prefer the video format, I will leave a link to the video at the end of the post.
Are you tired of writing messy and unorganized code that leads to frustration and bugs? You can transform your code from a confusing mess into something crystal clear with a few simple changes. In this article, we'll explore key principles from the book "Clean Code" by Robert C. Martin, also known as Uncle Bob, and apply them to Python. Whether you're a web developer, software engineer, data analyst, or data scientist, these principles will help you write clean, readable, and maintainable Python code.
Hey! My name's Kirill Ziborov and I'm a member of the Distributed System Security team at Positive Technologies. In this article, I'll be continuing the discussion of methods and tools for the formal verification of smart contracts and their practical application to prevent vulnerabilities. The main focus will be on the deductive verification method, or more precisely, the ConCert framework for testing and verifying smart contracts.
Kata Containers is actually now the main way to run containers in an isolated virtual machine for greater security. I tell you how to install them for use with Containerd and Docker while still being able to switch between release versions.
I came across a script on the Internet that allows you to parse product cards from Amazon. And I just needed a solution to a problem like that.
I wracked my brain while looking for a way to parse product cards from Amazon. The problem is that Amazon uses different design options for different outputs, in particular – if you need to parse the cards with the search query "bags" – the cards will be arranged vertically, as I need it, but if you take, for example, "t-shirts" – then the cards will be arranged horizontally, and in such way the script falls into an error, it works out opening the page, but does not want to scroll.