Islombe dev
69 subscribers
118 photos
26 videos
80 links
Here I share thoughts, news, memes.
Topic: IT and more :)

My website: https://islombe-dev.uz

My soc. networks:
- youtube.com/@islombe_dev
- instagram.com/islombe_dev
Download Telegram
Сделал видео-инструкцию для настройки модуля e-imzo на системе macos.

Все необходимые ссылки для видео инструкции:
- Установщик Java
- Официальный сайт eimzo
- Получение ЭЦП через mygov
- Получение ЭЦП через сайт E-Imzo
- Ссылка на презентацию

Команды для "копировать, вставить":
1. cd Downloads/E-IMZO/ - переход в папку eimzo
2. sudo chmod +x E-IMZO.sh - разрешает запуск скрипта eimzo
3. cd /Volumes/ - переход в папку Volumes
4. sudo mkdir DSKEYS - создание папки DSKEYS
5. open /Volumes/DSKEYS - открытие папки DSKEYS через finder
6. sudo mkdir /Volumes/DSKEYS && sudo chmod u+rwx /Volumes/DSKEYS - создание папки DSKEYS и полные доступ к этой папке
7. cd /Users/$(whoami)/Downloads/E-IMZO/ && ./E-IMZO.sh - команда для automator
5👍1
Forwarded from PRO Hi-Tech
В браузерах Chrome и Firefox устранены критические уязвимости, которые могли представлять серьезную угрозу для пользователей. Обновления уже доступны.

Пользователям Chrome рекомендуется обновиться до версии 31.0.6778.264/265 для Windows и macOS или 131.0.6778.264 для Linux. Среди исправленных уязвимостей — CVE-2025-0291, связанная с движком JavaScript V8. Эта брешь позволяла удаленно запускать вредоносный код через специально созданные HTML-страницы. За её обнаружение Google выплатила 55 тысяч долларов.

Для Firefox и Thunderbird Mozilla выпустила версию 134, которая исправила 11 уязвимостей, включая три высокорисковые. Среди них — CVE-2025-0244, позволяющая на Android подделывать адресную строку, и CVE-2025-0242/CVE-2025-0247, которые могли использоваться для исполнения произвольного кода, читая или изменяя данные за пределами защищенной памяти.

Рекомендуется как можно скорее обновить браузеры для обеспечения безопасности.
1 week - 1 small project

Planning to implement several small, yet problem-solving, ideas over the next few months. So, stay tuned – I will need all your feedback!

Do not know with what this is going to end, but excited to try building something useful for users 😎


#challege #startup #DeveloperLife
Please open Telegram to view this post
VIEW IN TELEGRAM
3
Dang... these comments
Islombe dev
1 week - 1 small project Planning to implement several small, yet problem-solving, ideas over the next few months. So, stay tuned – I will need all your feedback! Do not know with what this is going to end, but excited to try building something useful for…
So, the first mini project is a report generator 🗂

Every month, we need to submit a report with a list of completed tasks. While filling out the document isn’t difficult, making small updates to the same template every month gets tedious, and I wanted a faster solution.

To address this, I decided to implement a simple solution: a form for users to fill out, an API to send the submitted data, and scripts to generate reports in both .pdf and .docx formats.

However, I’m currently facing a security challenge. The user sends their own data, which shouldn’t even be visible to me and must be erased immediately after the files are generated. This week, I plan to resolve this issue. I also think the frontend should store the user’s data securely — of course, in an encrypted way.

The question is: how?😒

🎯 Target audience: team at work
🕔 Time spent: about 16 hours
🤑 How to make profit: use gained knowledge in other projects
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Много раз проводил собеседования и заметил, что тема Promise у многих хромает

Когда на собеседованиях спрашиваю о Promise в JavaScript, часто сталкиваюсь с тем, что кандидаты либо путаются, либо знают только базовые вещи. А ведь Promise — это один из титанов в javascript. В этом посте хотел бы раскрыть эту тему и направлять кандидатов читать этот пост))

Что такое Promise?

Promise – это объект, представляющий результат асинхронной операции, который может быть получен в будущем. У него есть три состояния:
1. ⏳ Pending – операция еще не завершена.
2. ✅ Fulfilled – операция завершена успешно, результат доступен.
3. 🚫 Rejected – операция завершена с ошибкой.

Простой пример создания Promise:
const myPromise = new Promise((resolve, reject) => {
const success = true; // Попробуйте изменить на false
if (success) {
resolve("Операция выполнена успешно!");
} else {
reject("Что-то пошло не так.");
}
});

myPromise
.then((result) => console.log(result)) // Обрабатываем успешное выполнение
.catch((error) => console.error(error)); // Обрабатываем ошибку


Зачем он вообще нужен?
Ответ прост – для работы с асинхронностью.
Раньше разработчики использовали колбэки для работы с асинхронностью, что приводило к так называемому “аду колбэков”. Promise решает эту проблему, делая код более читаемым и управляемым.

Основные методы Promise
1. then() — обрабатывает успешное выполнение.
2. catch() — обрабатывает ошибки.
3. finally() — выполняется в любом случае, завершилась ли операция успешно или с ошибкой.

Чего чаще всего не знают или путаются?
1. Promise.all() — для одновременного выполнения нескольких Promise.
2. Promise.race() — возвращает результат первого завершенного Promise.
3. Promise chaining — как правильно выстраивать последовательные then().

Советы для собеседований
1. Не учите Promise только теоретически — обязательно экспериментируйте с кодом.
2. Понимайте, как работают цепочки. Используйте их для упрощения кода.
3. Разбирайтесь в реальных сценариях применения — например, загрузка данных с API.
6
Tailwind CSS v4.0 is here 🔥

Yesterday my colleague told me about the new Tailwind 4 and I didnt expect that much changes.
Faster builds, modern features, and so much more - it’s packed with everything we’ve been waiting for. Let me list the most interesting and key things:

Insane Performance Boost 📈
- Full builds are now 5x faster (yes, really)
- Incremental builds? 100x faster - perfect for quick iterations

Modern CSS Awesomeness 🎨
- We finally have cascade layers
- Custom properties are registered automatically
- Plus, color-mix() support for advanced color manipulation

Setup Made Simple 🛠
- All it takes is one line of code to get started
- And there’s a new Vite plugin that integrates beautifully

Customize in Your CSS 👩‍💻
- Forget hunting through config files - just tweak directly in your CSS.

Cool New Features 🆕
- Container queries for responsive magic.
- 3D transform utilities for some creative flair.
- Expanded gradient APIs for stunning visuals.

Full update log

#tailwind #webdev #frontenddeveloper #frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
I have tried three AI chats

I've asked them to generate unit tests for a complex component. All of them had the same question and clarifications.

1. ChatGPT
- Knows me well, so generated almost what i need with only one working unit test
- Generation speed is perfect
- After adjustments anyway got 1 out of 6 unit tests

2. DeepSeek
- Generated well structured code as the chapGPT
- Got 'The server is busy. Please try again later.' after one clarification...

3. Qwen2.5-plus
- Gave me a good code as the chatGPT
- After clarification 2 out of 6 tests passed
- Generation speed is not as in ChatGPT(maybe, because i have a subscription for chatGPT 🤷)

Nevertheless, all these chats are just tools. All generated code has to be reviewed and adjusted by developer almost every time.
So, the future without developers has not come yet 🫥

#deepseek #chatgpt #qwen #developer
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
3
This media is not supported in your browser
VIEW IN TELEGRAM
Js is power 🐰

- web frontend ✅
- any backend ✅
- mobile application ✅

Of course it has drawbacks, but for business side it has to work(somehow) and should be done asap 😂
Please open Telegram to view this post
VIEW IN TELEGRAM
51
I witnessed a unique spectacle. The sysadmins came to a programmer colleague and asked him to…
drum roll…
install another OS on a laptop. Saying that I’m shocked is an understatement 😂
Please open Telegram to view this post
VIEW IN TELEGRAM
1
New architecture, new material, a new era in computing – Majorana-1

Groundbreaking quantum chip powered by a new Topological Core architecture.

💡Did you know?
We typically know matter as solid, liquid, or gas, but now there’s a topological state(🤯).
This new state of matter enables the creation of stable qubits – fast, tiny, and digitally controlled - without the limitations of existing tech.
In simple terms, this is like the semiconductor revolution that brought us modern computers, but for quantum computing.

🤔 Quick fact
A bit is 1 or 0, but a qubit can be any value between 1 and 0, unlocking enormous computing potential!
Please open Telegram to view this post
VIEW IN TELEGRAM
1
Some colleagues ask me: How long can you stay focused on work without getting distracted by messages, social media, and all that?

The answer is simple: You can’t! 🛏

BUT!
You can easily “trick” yourself into diving into a task for a while.

Here’s how I do it and you can 🤑
1. Close all distracting apps and tabs.
2. Set “Do Not Disturb” or “Airplane Mode” on my phone and laptop.
3. Set a timer for 30-60 minutes. Average human focus time is 20-45 min.
4. Write down tasks and subtasks on paper.
5. Dive into the task and follow my list step by step.
6. When the timer goes off, take a 5-15 minute chill break.
7. Go outside to get some fresh air, when I feel super asleep

Some extra tips (but these are more personal)🚶‍♂️
• I try to tackle the most challenging tasks before lunch, while my brain is still fresh.
• If I didn’t sleep well, I have one cup of coffee in the morning, and if I had a big lunch, one more cup after.
• I try to eat light at lunch to avoid the afternoon slump.
• Take a 5-10 minute walk during the day to recharge.
• Go for a 30-minute walk after work to help with better sleep.
• Play v-games or read something for about 1hr

How do you stay focused? 🍵
Please open Telegram to view this post
VIEW IN TELEGRAM
1
When you’re dealing with a coding session during an interview, try using the REACTO method.

Assume you have a task:
CodeWars Example
Once upon a time, on a way through the old wild mountainous west,…
… a man was given directions to go from one point to another. The directions were "NORTH", "SOUTH", "WEST", "EAST". Clearly "NORTH" and "SOUTH" are opposite, "WEST" and "EAST" too.

Going to one direction and coming back the opposite direction right away is a needless effort. Since this is the wild west, with dreadful weather and not much water, it's important to save yourself some energy, otherwise you might die of thirst!


🧠 R - Repeat
Repeat the task with clarifying questions.
Example: Are directions always in capital case? Should the function handle empty input?

✍️ E - Example
CodeWars already provides several test cases, but during the interview, you can write them down yourself.

🧮 A - Approach
This is where you need to choose a solution. In our case, we can select a recursive solution.
By the way, you can use a brute-force solution in the first attempt, but always ask if it’s okay with the interviewer. 😉

To solve this task, I’m going to use recursion by iterating through the array elements. In each iteration, I’ll check if the current direction is the opposite of the next one. If they are opposites, I’ll remove them from the array and call the function again with the modified data.


👨‍💻 C - Code
When your approach is well-defined, you can start writing the actual code. During the implementation, it’s better to explain your thoughts and what you are doing.
function dirReduc(arr){
let index = 0;
const oppositeDirMap = {
WEST: "EAST",
EAST: "WEST",
SOUTH: "NORTH",
NORTH: "SOUTH"
}

while(index < arr.length) {
if(arr[index] === oppositeDirMap[arr[index + 1]]){
arr.splice(index, 2);
return dirReduc(arr);
}
index++;
}
return arr;
}


🧪T - Test
Here you need to run your code, fix errors, explain why you got an error.

🚀 O - Optimize
In the last step, focus on optimizing your solution. The interviewer might ask you to improve your solution, implement another method, or discuss the complexity of your code.


By using the REACTO method, you can structure your answer and present yourself more professionally. And, of course, to master this method, you need to practice it on your own! ⌨️
Please open Telegram to view this post
VIEW IN TELEGRAM
1
Read an interesting post about use AI while creating a software. And I confidently say that this part is 100% accurate:

When you watch a senior engineer work with AI tools like Cursor or Copilot, it looks like magic. They can scaffold entire features in minutes, complete with tests and documentation. But watch carefully, and you'll notice something crucial: They're not just accepting what the AI suggests. They're constantly applying years of hard-won engineering wisdom to shape and constrain the AI's output. The AI is accelerating their implementation, but their expertise is what keeps the code maintainable.


As I witness inters and juns just copy-paste everything from ai-generated code and got 💩, sometimes with 0 understanding what this code does 🛑
Please open Telegram to view this post
VIEW IN TELEGRAM
21
Good news.

Microsoft has announced a native port of the TypeScript compiler and tools, promising to revolutionize our development experience with a 10x performance boost ⚡️

Key Highlights
- Fast compilation 😡
Editor startup times and build processes to be significantly faster

- Reduced Memory Usage 🧠
The native implementation is designed to consume less memory, making it more efficient for large projects

All these with the help of Go lang 👩‍💻
Please open Telegram to view this post
VIEW IN TELEGRAM
If you need some API_KEY to test something and dont want to create it by yourself.

1. Go to the github.com
2. Type in search panel 'api_key' or 'apikey'
3. Do your searching skills and get which you need for free 🌚

And DO NOT place your api keys into public repos in github!
Please open Telegram to view this post
VIEW IN TELEGRAM
2