Guest mode. You can read posts without signing up. Comments, ratings, job contacts and your own posts open after you sign up and accept the rules. What is Kommit →

Reset

9 posts tagged #разработка: articles, how-tos, projects and jobs from the portal's IT professionals.

Редакция КоммитРедакция портала
commit d1daccd · 14 days ago

🌐 Machine-translated from Russian. Show original

EDS via API for developers in Kazakhstan: official SDK NC RK, open NCANode with REST API, commercial signing services, OCSP, CRL, and TSP services, and how to securely embed signature and verification into your system.

In this part:

What to choose from

| Option | What is | When is | suitable
| --- | --- | --- |
| NCALayer is on the user side | signature in the browser, the key remains with the person | the website or cabinet where the user signs |
| NUC SDK (Kalkan libraries) | an official set of libraries and test certificates | its own verification and signature on the server, full control over |
| NCANode | an open server with a REST API on top of the NCANode SDK | quickly obtain an HTTP API for verifying and signing |
| Commercial services (e.g., SIGEX) | ready-made cloud API: documents, QR signature via eGov Mobile, digital signature login, | don't want to keep your infrastructure |

Detailed code for browser signature and server verification are covered in the series "EDS and NCALayer for Developers."

NUC RK SDK

Read more
Comments 01 участник · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 00b4dfe · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

Candidates

PlatformWhat isLicense
GitLab CEa complete platform: repositories, tasks, MR, CI/CD, registries, wikis,MIT (CE); EE — proprietary
**GitLab.com** cloud GitLabfree and paid plans
Giteaa lightweight self-hosted Git service on GoMIT
Forgejoa community fork of Gitea, running CodebergGPL-3.0+ (since version 9)
GitHubMicrosoft's cloud platform, the largest communitycloud; Enterprise Server — paid

Comparison

GitLab CE (proprietary)Gitea / ForgejoGitHub (cloud)
Server resourcesfrom 8 GB RAM, 16 GB recommendedfrom 1–2 GB RAM, works even on a mini PCno
Install and updatepackage, monthly updatesone binary or Docker, justdon't need
CI/CDbuilt-in GitLab CI, a very powerfulGitea Actions / Forgejo Actions (syntax close to GitHub Actions) + its own runnerGitHub Actions, a huge marketplace
Register of containers and packages✅✅✅
Tasks, boards, milestones,✅ developed✅ basic✅ Issues + Projects
Mandatory approvals MR, CODEOWNERSpaid (Premium)✅ free✅ for public; for private — in paid tariffs
Sign-in via AD/LDAP✅✅Enterprise
Working without internet✅✅❌
Data in the RK✅ on your server✅ on your server❌

When what is suitable

GitLab CE — "all-in-one" for the team

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 09eb5c6 · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

How GitLab CI works

ConceptWhat is
.gitlab-ci.ymlfile in the root of the repository describing the pipeline
Pipelinerunning everything described on a specific commit
Stagestage: test → build → deploy; stages proceed sequentially
Joba task within a stage; tasks from one stage run parallel to
Runnera machine that performs tasks (installed in Git for the team, part 4: my GitLab CE on Ubuntu 24.04 — installation, HTTPS, email, backups, and runners
Artifactsfiles that the task passes on or uploads
Variablesvariables and secrets set in the project settings
Environmentenvironment (staging, production) with deployment history and a rollback button

The basics of Docker, Dockerfile, and rollback deployment are thoroughly covered in the series "Docker and CI/CD from Scratch." Here we assemble the full pipeline specifically for GitLab: with launch rules, cache, registry, and environments.

What we will get

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 914dec6 · 15 days ago

🌐 Machine-translated from Russian. Show original

1C is one of the most in-demand areas in Kazakhstan: accounting for almost any company, from a store to a holding, is maintained in 1C. Designations: J — junior, M — middle, S — senior.

In this part:

Platform and facilities

J. How does a reference book differ from a document?

The directory stores conditionally constant information: nomenclature, counterparties, employees. The document records the event in time (it has a date and number) and is usually conducted — forming movements through registers: receipt of goods, sales, payroll accrual.

J. What types of registers are there and how do they differ?

  • Information register — stores values by measurements, can be periodic (exchange rates, prices, employee positions).
  • Accumulation register — numerical indicators with receipts and expenses. The "Balances" type — for what can be counted on the date (goods in stock, settlements). The "Turnover" type — for items that have no meaning in the balance (sales, expenses).
  • Accounting register — entries according to the chart of accounts (debit, credit, subaccount).
  • Calculation register — complex periodic calculations (salary) with validity periods and recalculations.

J. What is document execution?

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 0e772b6 · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

When you need your own GitLab

Your own GitLab (self-managed)GitLab.com / GitHub (cloud)
Code and data you have, including in KazakhstanCode on provider servers abroad
No user limits in CEFree plans with
Operates on a closed network without internetInternet
Updates, backups, and security — your concernServiced by the

If the repositories contain personal data or storage requirements in Kazakhstan, or only need access from the corporate network, your own GitLab is justified. For two developers on a pet project, the cloud or lightweight Gitea/Forgejo are easier (comparison — in Git for the team, part 6: GitLab, Gitea, Forgejo, or GitHub — what to choose and when to pay).

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit ca6112c · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

Why review code

A review is not a "supervisor check," but a way to:

  • catching mistakes before selling when to fix them is the cheapest;
  • to spread knowledge: at least two people know about each section of the code;
  • maintain a unified style and architecture;
  • to teach beginners on real problems.

A merge request (MR, on GitHub — pull request) is a "merge my branch into main" request with discussion, diff, CI results, and a Merge button.

Rules worth agreeing on

For the author:

  • MR is small: up to 300–400 lines of changes. We split a large task into several MR.
  • The title is clear without revealing the code: "Sales Report: Branch Filter (#142)."
  • In the description: what has been done, why, how to check, screenshots for the interface.
  • Before sending — I read my diff myself, CI is green.
  • Not ready yet — mark MR as Draft (Mark as draft button or prefix Draft: in the title): it cannot be accidentally merged.

For the reviewer:

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 87c4fed · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

Why negotiate branches

When more than one person works in the repository, chaos arises without rules: there is unfinished code in main , no one knows what's currently on sale, and the release turns into a "glue" of a dozen branches on the last night.

The branching strategy answers three questions:

  1. Where does stable code lie?
  2. Where is the development of the new task taking place?
  3. How does the code get to the product?

Three strategies that work

GitHub Flow — the simplest

  • There is one long-lasting branch of main — it is always ready to be displayed.
  • Each problem is a short branch of feature/... from main.
  • Ready → merge request → review → merge into main → automatic deployment.

Suitable for web services and teams with CI/CD, where they post frequently.

GitLab Flow — with environments

The same as GitHub Flow, plus environments or release branches:

  • main → automatically to the test bench;
  • production (or release/2026.11) → to the product; the code is entered there by merging from main after verification.

Suitable when there is acceptance between 'ready' and 'on prod': internal systems, 1C, banking integrations, scheduled display windows.

Trunk-based — for mature teams

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 6eabcda · 15 days ago

🌐 Machine-translated from Russian. Show original

In this part:

How Git works in 2 minutes

Git stores the project history as a chain of snapshots (commits). Each commit has an author, date, message, and a link to the previous one.

ZoneWhat's thereTeam to hit
Working folderfiles you edit—
Stagingwhat will be included in the next commitgit add
Local repositorycommit history on your diskgit commit
Remote repositoryshared server: GitLab, GitHub, Giteagit push

The main thing to remember: what is committed is almost impossible to lose. Even after a "failed" reset, a commit can be found in git reflog (more on this below). Only what you never committed is lost.

Step 1. Installation and initial setup

  • Windows — git-scm.com/install (installed together with Git Bash) or winget install --id Git.Git -e.
  • macOS — brew install git or Xcode Command Line Tools.
  • Ubuntu 24.04 — sudo apt install -y git. In the Ubuntu repository, the version is older but sufficient for operation.

Check:

git --version

Once on the computer:

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up
Редакция КоммитРедакция портала
commit 056e9c7 · 19 days ago

🌐 Machine-translated from Russian. Show original

In this part:

Where Vulnerabilities Come From

Most often—not due to complex errors, but because of forgotten checks: permissions were not checked on the server, input data was not validated, the secret was left in the code. A guide for developers is the OWASP Top 10 list: the most common web application vulnerability classes.

Access control breach

The most common problem: the user sees or changes someone else's data by inserting a different ID into the request.

// ❌ Плохо: доверяем ID из запроса
const order = await db.order.findUnique({ where: { id: req.params.id } });

// ✅ Хорошо: проверяем владельца на сервере
const order = await db.order.findFirst({ where: { id: req.params.id, userId: session.userId } });
if (!order) return notFound();

Rules:

  • Each data request checks rights on the server. A hidden button in the interface is not protection.
  • Default access is denied, permission is explicitly granted.
  • Admin functions — separate routes with separate role verification.

Injections

SQL injections, command injections, XSS — all occur when user data enters the code without processing.

Read more
Comments 00 участников · 0 гостей🔒 Rate and discuss after signing up