Pull to refresh

Development

Show first
Rating limit
Level of difficulty

Porting packages to buildroot using the Zabbix example

Reading time16 min
Views4.7K


The basics of porting


Originally, Buildroot offers a limited number of packages. It makes sense — there is everything you need, but any other packages can be added.


To add a package, create 2 description files, an optional checksum file, and add a link to the package in the general package list. There are hooks at different stages of the build. At the same time, Buildroot can recognize the needed type of packages:

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

Traps and pitfalls in modernization of enterprise application using «supersonic subatomic java»

Reading time8 min
Views1.2K

This is a post about first steps and first pitfalls in modernization of old enterprise application using "supersonic subatomic java" quarkus as it is positioned by RedHat.


Initial setup


In the end of 2019 I was invited to work in a project in our company, where an old monolithic application should be split into micro-services. Basic reasoning behind this decision was, that framework which is used in application is near to it's end-of-life. The application should be rewritten in any case. If it should be rewritten in any case, why not to split it into micro-services?


Since last 10 years, I was working mostly with java and we had in the project specialists with java knowledge, we have decided to give java-based frameworks a try for back-end functionality.
OK, let's use spring-cloud for that purpose, was our first thought. But then, we have had a look onto quarkus, which has been released in the end of 2019. We have decided to give it a try, keeping in mind building of native applications using GraalVM.


Native applications from our perspective could give us following benefits:


  • shorten start time of container
  • reduce resource consumption of container and application

We were aware about possible drawbacks of this solution:


  • no experience in our team with quarkus framework
  • significantly less amount of available feedback from community, since this is very young framework
Read more →
Total votes 3: ↑3 and ↓0+3
Comments0

What is Baked in the Baker's Dozen?

Reading time31 min
Views1.7K
On April 8, PostgreSQL feature freeze took place, so only features committed earlier will get into version PostgreSQL 13. Probably, this version can hardly be considered revolutionary, since it has no conceptual changes. Some of critical patches were late to get into it, such as Table and Functions for the JSON/SQL standard, which had been desirable to be part of PostgreSQL 12, along with the JSONPath patch; plug-in warehouses did not appear either — only the interface is being finalized. The list of improvements is still impressive. We prepared a pretty complete overview of the patches included in the Baker's Dozen.
Read more →
Total votes 6: ↑6 and ↓0+6
Comments0

About embedded again: searching for bugs in the Embox project

Reading time11 min
Views544

Рисунок 2


Embox is a cross-platform, multi-tasking real-time operating system for embedded systems. It is designed to work with limited computing resources and allows you to run Linux-based applications on microcontrollers without using Linux itself. Certainly, the same as other applications, Embox couldn't escape from bugs. This article is devoted to the analysis of errors found in the code of the Embox project.
Total votes 3: ↑3 and ↓0+3
Comments0

Working with light: Starting your career at ITMO University

Reading time4 min
Views1.5K
One of our previous articles featured an overview of our photonics department students’ work lives. Today we’re going to expand on this topic by looking at four related MA programs: “Light Guide Photonics and Programmable Electronics”, “LED technologies and optoelectronics”, “Photonic materials” and “Laser technologies”. We sat down with some of the folks currently enrolled in these programs, as well as recent graduates, to talk about the role ITMO University played in kickstarting their careers.

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

Simple and free video conferencing

Reading time3 min
Views2.5K
Due to a rapid increase in remote work, we have decided to offer video conferencing. Like most of our services, it is free of charge. It is built on a reliable open-source solution, it is mostly based on WebRTC, which allows communicating in the browser by just clicking on a link. Below we’ll tell you more about its features and some of the problems we’ve run into.


Read more →
Total votes 2: ↑2 and ↓0+2
Comments5

Custom Shopify Automation for Your Business

Reading time3 min
Views1.5K

E-commerce today has become so frequent that it has become almost a standard chain of stores, where most people make purchases. But even online stores are trying to save money by becoming drop shippers and more working on additional implementations, rather than on the maintenance and payment of huge storage spaces.

Read more →
Rating0
Comments0

Safe-enough linux server, a quick security tuning

Reading time10 min
Views2.6K
The case: You fire up a professionally prepared Linux image at a cloud platform provider (Amazon, DO, Google, Azure, etc.) and it will run a kind of production level service moderately exposed to hacking attacks (non-targeted, non-advanced threats).

What would be the standard quick security related tuning to configure before you install the meat?


release: 2005, Ubuntu + CentOS (supposed to work with Amazon Linux, Fedora, Debian, RHEL as well)


image

Read more →
Total votes 3: ↑2 and ↓1+5
Comments0

Windows Native Applications and Acronis Active Restore

Reading time9 min
Views1.8K
We continue telling you about our cooperation with Innopolis University guys to develop Active Restore technology. It will allow users to start working as soon as possible after a failure. Today, we will talk about Native Windows applications, including details on their development and launch. Under the cut, you will find some information about our project, and a hands-on guide on developing native apps.

image
Read more →
Total votes 16: ↑16 and ↓0+16
Comments0

MEMS accelerometers, magnetometers and orientation angles

Reading time8 min
Views12K


When it's necessary to evaluate the orientation angles of an object you may have the question — which MEMS sensor to choose. Sensors manufacturers provide a great amount of different parameters and it may be hard to understand if the sensor fit your needs.

Brief: this article is the description of the Octave/Matlab script which allows to estimate the orientation angles evaluation errors, derived from MEMS accelerometers and magnetometers measurements. The input data for the script are datasheet parameters for the sensors. Article can be useful for those who start using MEMS sensors in their devices. You can find the project on GitHub.
Read more →
Total votes 5: ↑5 and ↓0+5
Comments0

The World’s Top 12 Quantum Computing Research Universities

Reading time5 min
Views4.1K
In just a few years, quantum computing and quantum information theory has gone from a fringe subject offered in small classes at odd hours in the corner of the physics building annex to a full complement of classes in well-funded programs being held at quantum centers and institutes at leading universities.

The question now for many would-be quantum computer students is not, “Are there universities that even offer classes in quantum computing,” but, rather, “Which universities are leaders at quantum computing research.”

We’ll look at some of the best right now:

The Institute for Quantum Computing — University of Waterloo


The University of Waterloo can proudly declare that, while many universities avoided offering quantum computing classes like cat adoption agencies avoided adoption applications from the Schrodinger family, this Canadian university went all in.

And it paid off.
Read more →
Rating0
Comments0

Tests as must have for complex projects

Reading time6 min
Views1.7K

Development in its pure form is not only writing code, but also a number of manipulations that are necessary for its correct and timely work. Testing in development takes the lion's share of both time and resources, but proper testing will bring only time savings and the best result for the client.

Read more →
Rating0
Comments0

Service for Active Restore or the Story of an Industrial Project at Innopolis

Reading time8 min
Views1.2K
Hello, Habr! My name is Roman. Today I would like to share a story of how we at Innopolis University developed a test stand and a service for Acronis Active Restore system, which will soon become part of the company’s product range. Those interested to know how the University builds its relationship with industrial partners are welcome to click the «Read More» button.

image
Read more →
Total votes 14: ↑14 and ↓0+14
Comments1

How I fix cups-printing in Buildroot

Reading time7 min
Views2.3K

image


Intro


Like I said earlier in previos articles, Buildroot is a great system for embedded Linux development. But sometimes strange things can happen.


Once upon a workday, I got the following task: add printing system in firmware (Kraftway terminal Linux next generation). Ok, so I had to add cups + cups filter and to build firmware. I set a postscript-printer and got an error "Filter failed". Trivial tasks turned into serious work.


In this article, I wrote my own way of solving this problem. It may be useful for other developers and IT-specialist and, also, for a deeper understanding of the Buildroot.


If you are a Buildroot beginner, I recommend reading my previous articles.


Update 1 may 2020


Revisioned versions of this patches applied to master.

Read more →
Total votes 2: ↑1 and ↓10
Comments0

Looking for a Zoom alternative?Here are the best suggestions for videoconferencing apps

Reading time5 min
Views2.8K


As much of the world works from home amid COVID-19 lockdowns and ‘shelter in place’ restrictions, video call and conferencing apps have experienced a significant surge in user numbers. From top business executives to scientists and government officials, the employed across industries and roles have moved operations online and onto video conferencing apps such as Zoom.

The dark side of this change is that video calls have also become a playground for phishermen and ‘Zoombombers’. This development was recently experienced by Zoom users, who took to the internet to allege that Zoom vulnerability windows were compromised and ‘Zoom is not safe to use’.

In March alone, the number of Zoom users saw a whopping 535% increase, with its iPhone app being the most downloaded for weeks at a stretch. However, reports of security disasters and Zoom privacy issues saw the brand’s credibility snowballing at an alarming pace. Despite the company CEO stepping up to the plate and ramping up privacy measures, professionals continue to debate on whether the Zoom privacy and security issues, that risked data of millions, can be quickly resolved.

What went wrong?
Read more →
Rating0
Comments4

Custom instruments: When signpost is not enough

Reading time7 min
Views2.5K
In our previous article, we discussed the reasons of unit-tests’ instability and how to make them stable. Now let’s look through a new tools for debugging and profiling which were introduced by Apple in iOS 12 — the framework os_log and instrument for performance analysis os_signpost.

image

In one of the sprints, we were tasked with implementing the generation of a pdf-document on the client-side. We completed the task. But we wanted to make sure the effectiveness of the technical nuances of the decision. Signpost helped us with this. Using it we increased he document’s displaying speed several times.

To learn more about os_signpost application technology, see where it can help you and how it has already helped us, go further forward.
Read more →
Total votes 8: ↑8 and ↓0+8
Comments0

An MVP concept and why you need it

Reading time4 min
Views2.4K

Many corporations today only a few years ago started their business with MVP. The only MVP allows you to take a look in a very short period how your business will move. By this way, you can notice at the first reaction of the target audience, see all the shortcomings, and exactly decide how to proceed further: develop the idea and invest in or completely modify it in an absolutely different product.

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

About integration tests

Reading time2 min
Views2.1K
[Previously] I was talking about combinatorial complexity of integration tests in multicomponent systems, so let me remind. Let's build a simple system with only 3 components inside. It can be three independent modules and we want to provide some communication between them (message passing good enough for the purpose of the example) So we have 3! = 6 possible configuration to test. Before going deeper lets see how Quicksort fights a combinatorial complexity.

[Quicksort] reduces complexity on each pass of a given input. So far so good. Let's imagine example with 10 elements. How many possible permutations do we have? you are right: 10! ~= 3,6 * 10^6. So on the first pass the complexity will be reduced: 5!*5!, on the next pass it will be further reduced till 2!*3!*2!*3!… after logn times we will have 1!*1!*1!...1! = 1 possible position, and our given input is sorted. Gotcha. (attentive reader can mention about worst case scenario of quicksort, but lets discuss it someday) Coming back to our example…
Read more →
Total votes 3: ↑3 and ↓0+3
Comments0