Pull to refresh

My feed

Type
Rating limit
Level of difficulty
Warning
To set up filters sign in or sign up
Article

Go sync.WaitGroup и проблема с выравниванием

Level of difficultyMedium
Reading time12 min
Views337

WaitGroup — это, по сути, способ дождаться , пока несколько горутин закончат свою работу. Мы начнем с основ, а затем разберемся, как это устроено под капотом.

Read more
Total votes 3: ↑3 and ↓0+5
Comments1
Article

Effective Monitoring with Firebase Performance for Flutter Apps

Level of difficultyMedium
Reading time7 min
Views325

Firebase Performance offers a free, comprehensive solution for tracking app performance. As part of the Firebase suite, it provides seamless integration with other Firebase services like Crashlytics, making it easier to manage all performance and crash data in one place. This not only simplifies access but also streamlines team collaboration without the need to manage multiple platforms.

Read more
Total votes 2: ↑2 and ↓0+4
Comments0
Post

Вышел 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% быстрее.

Tags:
+2
Comments0
Article

ChatGPT Canvas: Your New Partner in Writing and Coding

Level of difficultyEasy
Reading time2 min
Views789

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.

Read more
Total votes 1: ↑1 and ↓0+3
Comments1
Article

XML parsing into plain Map in Golang

Level of difficultyEasy
Reading time4 min
Views939

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).

Let's see implementation
Total votes 4: ↑4 and ↓0+7
Comments0
Article

How to bypass CAPTCHA: Breaking Down a Complex Process in the Simplest Terms

Level of difficultyEasy
Reading time7 min
Views1.1K

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).

Read more
Total votes 1: ↑1 and ↓0+3
Comments2
Article

Modern X-ray detectors

Level of difficultyMedium
Reading time11 min
Views1.3K

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.

Read more
Total votes 2: ↑2 and ↓0+5
Comments0
Article

Replit 101: Learn to Use Replit Agent and Deploy Your First App

Level of difficultyEasy
Reading time4 min
Views1.5K

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.

Read more
Total votes 2: ↑1 and ↓1+2
Comments0
Article

React Native Splash Screen — support for different themes

Reading time5 min
Views1K

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.

Read more
Total votes 2: ↑2 and ↓0+6
Comments0
Article

Starfive visionfive 2: home cookbook

Reading time10 min
Views1.3K

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

Bonus 1: run qemu with risc-v

Bonus 2: build deb packages for risc-v

Bonus 3: kernel build script

Conclusions

Read more
Total votes 2: ↑2 and ↓0+4
Comments0
Article

15 quotes about artificial intelligence from world famous people

Level of difficultyMedium
Reading time7 min
Views1.4K

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:

Read more
Total votes 3: ↑2 and ↓1+3
Comments1
Article

Can AI create a rap music video?

Level of difficultyEasy
Reading time6 min
Views1.3K

Hello everyone, this is Denis Weber.

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.

Read more
Total votes 1: ↑1 and ↓0+3
Comments2
Article

Python Clean Code: Stop Writing Bad Code — Lessons from Uncle Bob

Level of difficultyEasy
Reading time4 min
Views4.5K

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.

Read more
Total votes 5: ↑4 and ↓1+3
Comments3
Article

Two problems why you are not selling Internationally

Level of difficultyMedium
Reading time2 min
Views1.5K

My name is Paul Karol and I work as a director in a Russian IT company that mostly sells their products in the international market.

I have been deeply involved in a project and I haven’t had time to write here lately.  

But out of this work came an understanding of two very large Mistakes that are being made that prevent your pre-sales from succeeding. 

I’m going to go into deeper detail on each one of these issues in the next articles, but I will introduce them here now.

Let me make you a promise….. if you correct these two issues, your software and development projects will sell.  

**I have a proven track record. If these areas are fixed the company begins to sell 150 % more than they’ve ever sold in the past. 

150% more profits! 

Read more
Total votes 4: ↑2 and ↓2+2
Comments0
1
23 ...