Pull to refresh

How to become an author

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

Reading time8 min

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

Safe-enough linux server, a quick security tuning

Reading time10 min
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 7: ↑6 and ↓1+5
Comments0

The World’s Top 12 Quantum Computing Research Universities

Reading time5 min
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

Programatic content marketing in the B2B segment

Reading time6 min

Good content makes customers loyal, forms a positive brand image, and raises sales in the long term. But it only works if content reaches its target audience. To bring together prospective clients and relevant messages content marketing platforms are used. Learn how they can improve campaigns of marketing agencies, media buyers, and companies.

Read more →
Rating0
Comments0

«Build it & Break it»: How some algorithms generate captcha, while others crack it

Reading time12 min
Hello, Habr! Let's me present you a translation of an article "«Ломай меня полностью!» Как одни алгоритмы генерируют капчу, а другие её взламывают", author miroslavmirm.

Doesn't matter what kind of intelligence you have — be it artificial or natural — after this detailed analysis no captcha will be an obstacle. At the end of the article, you can find the simplest and most effective workaround solution.

CAPTCHA is a completely automated public Turing test to tell computers and humans apart by automatically setting up specific tasks that are difficult for computers but simple for human. This technology has become the security standard used to prevent automatic voting, registration, spam, brute-force attacks on websites, etc.
Read more →
Rating0
Comments0

No-code: yesterday, today, tomorrow

Reading time4 min
No-code movement is a new approach to website and app development. It doesn't require technical knowledge. Does no-code movement have something in common with old image boards, guest books and creation of MySpace or Facebook? Yes, it does. And here is why.

No-code is a reflection of social tendencies made in technologies. To understand it, we need to discover the history from the beginning of the World Wide Web.
Read more →
Total votes 1: ↑0 and ↓1-1
Comments0

Why Enterprise Chat Apps isn’t built on Server-side Database like Hangouts, Slack, & Hip chat?

Reading time3 min
One of the most significant tools for any organization to smoothen their collaborative world is only through a real-time chat application whether the conversation takes place on mobile or desktop. Hangouts, Slack and Hipchat have been in action for businesses to establish a decent conversation between their internal employees and clients right from small-scale to enterprises.

Those big players come into play where there requires team collaboration. The big players are built on a server-side database where the messages shared from one device to another is stored in their server database. Ultimately, this results in storing a huge amount of data within the server-side database (Cloud-database).

The consumption of cloud storage will be pretty high. The client-side database is more efficient where the messages relayed is stored in the client device. The messages will be queued to minimize the consumption of data in the server.
image
Read more →
Total votes 3: ↑3 and ↓0+3
Comments0

Legacy Languages still Pretty Hard to Beat

Reading time3 min
image

Evolution and development have always been the integral parts of every sector you come across. Same is the case with programming languages. Numerous up gradations and invention of entirely new languages have divided the world of programming into legacy and modern. But no matter what, legacy programming still makes the foundation of many software, web applications and AI based techniques.
Read more →
Total votes 8: ↑6 and ↓2+4
Comments1

Ideas for Startups in 2020: 5 Distinct on-demand Mobile App

Reading time4 min
image

We have transcended into a world where most of the services that we want our needs available right in the comfort and confines of our homes! It is quite likely that an application addresses those needs.What makes these applications more interesting and relevant is the fact that they can identify the user and multiple attributes.

One of the significant attributes that can be identified by using mobile applications is the precise location of the user. The GPS, which was once confined to the military and aviation industry, has now been made available to almost every smartphone user. The GPS, combined with the mapping and navigation services by technology companies like Google and Apple, has made it extremely easy for the service provider to reach the location of the user.
Read more →
Total votes 5: ↑4 and ↓1+3
Comments1

3D Keyboard Key on CSS

Reading time3 min

Introduction


People use their gadgets every day. And the main attribute of any gadget is a keyboard. But have you ever thought about creating a keyboard that would display on your screen?

In this article, we will create a 3D Keyboard Key with awesome animation after clicking on it. And yes, we will not use any programming language. Our key will be on the power of CSS! Let’s get started!

image

Implementation

Read more →
Total votes 7: ↑3 and ↓4-1
Comments4

How 5G's Acceleration will move through the Mobile App Development Space?

Reading time6 min
5G ( Fifth Generation Wireless Cellular Network) is not just a possibility anymore. The forthcoming of 2020 has unfold avenues for 5G browser capabilities in smartphones.

With the recent 5G rollout, it has been predicted that over 1.4 billion devices will be running on the 5G network by 2025 — accounting for 15% of the global total.

image
Source: Google Images
Read more →
Total votes 10: ↑8 and ↓2+6
Comments0

Augmented Reality: A perfect vehicle for 21st-century education

Reading time4 min
With the advancements in technology, new ways are being explored and introduced to make teaching and learning more productive. This has taken the e-learning industry to new heights. It has been expected that the global e-learning market revenue will reach $300 billion by 2025.
Read more →
Total votes 1: ↑0 and ↓1-1
Comments0

React Token Auth

Reading time10 min


Problem


Authorization is one of the first problems developers face upon starting a new project. And one of the most common types of authorization (from my experience) is the token-based authorization (usually using JWT).


From my perspective, this article looks like "what I wanted to read two weeks ago". My goal was to write minimalistic and reusable code with a clean and straightforward interface. I had the next requirements for my implementation of the auth management:


  • Tokens should be stored in local storage
  • Tokens should be restored on page reload
  • Access token should be passed in the network requests
  • After expiration access token should be updated by refresh token if the last one is presented
  • React components should have access to the auth information to render appropriate UI
  • The solution should be made with pure React (without Redux, thunk, etc..)
Read more →
Total votes 6: ↑4 and ↓2+2
Comments22

Blockchain Is Changing The Way Rail Industry Works

Reading time3 min
image

Railways had made our transportation very easy since 1830 when the first railway began in England. From 1830 to 2020, the development in the railways has been quite significant. The concept of blockchain is expanding widely; hence the public interests are also growing on a vast scale. Major enthusiasts about blockchain are the investors and businessmen who wish for transparency and equity in the transaction. Now since blockchain is no more just a concept its application in railways is expected to smoothen the transportation.
Read more →
Total votes 3: ↑2 and ↓1+1
Comments0

How to Wrap Up a Software Development Project the Right Way

Reading time3 min
Does the New Year have you scrambling to wrap up last year’s software development projects? Don’t archive your Jira tickets and Trello boards too quickly!

A good rule of thumb in software development is that your next software project should always be better than your last. Why? Because the lessons you learn and take away from each project should be continuously documented and applied in future projects.

In the words of Rachel Green, every good project should end with closure.

image

Follow this quick and easy 6-step guide to ensure that you wrap up your software project efficiently and effectively.

6 Steps for Successfully Wrapping up a Software Development Project


1. Document future needs

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

Breaking the Rules of Unity Garbage Collection

Reading time5 min
Once upon a time, there was a unity game programmer called Lancelot. A very passionate one, I would say. He didn't know yet, but eventually he would face the darkest side of Unity garbage collection.

image

Lancelot was always looking for bigger and bigger titles to work on. And so he worked hard to get his big chance in the games industry.

It was not easy, that he knew.
Read more →
Rating0
Comments0

Smart house with Xiaomi on the example of a sauna

Reading time12 min
There are quite a few reviews and videos on the Internet about building smart houses. There is an opinion that all this is quite expensive and troublesome in the organization, that is, in general, the fate of geeks. But progress is not standing still. Devices are becoming cheaper and more functional, and design and installation are quite simple. However, the reviews mainly focus on 1-2 examples of use, practically not covering nuances and not creating a complete picture. Therefore, in this article I want to make an overview of the finished project, demonstrate the use cases and pitfalls encountered in building a smart home with Xiaomi devices on the example of a sauna. The described ideas with small variations can also be applied to the automation of the apartment.

image

Background or why all of this is necessary


For starters, a little background so that the context can be understood. In the early autumn of 2018, the sauna was finished and put into operation. The sauna is an autonomous capital structure with year-round heating and water supply.

image
Read more →
Total votes 6: ↑5 and ↓1+4
Comments0

PHP vs Python vs Ruby on Rails: Detailed Comparison

Reading time3 min
image

Which is the best programming technology for web app development in the year 2020? This is one of the most debated questions among web programmers, students and companies (wanted to develop their own website). Actually, every language has its own pros, cons or advantages, disadvantages. It totally depends on your requirements for website development.

In this blog post, I am going to clear your many doubts related to these programming languages or technologies, so that you can choose the best language according to your specific needs and requirements. Here, I’ll do a detailed and comprehensive comparison between these three most popular programming technologies viz. PHP vs Python vs Ruby (RoR). The comparison is on the basis of various stats and data on different parameters. So, let’s start the battle of most popular programming languages ie: PHP vs Python vs Ruby (RoR).
Read more →
Total votes 12: ↑0 and ↓12-12
Comments5

Understanding the Concept of Modern Web App Development In 2020

Reading time8 min


Millions of businesses exchange information on the internet and to interact with their target audience. This helps them make fast and secure transactions over the web. However, business goals can be achieved when the businesses are able to store all this data for the means of presenting quality output to the end users.

Simply put, in the development industry a web application (or “web app”) is more like a program that uses a web browser to handle the storage and retrieval of the information to present information to the users. This allows a user to interact with the company using the online forms, e-shopping carts, CMS, etc. Some more examples of web applications are online banking, online polls, online forums, online reservations, shopping cart, and interactive games.

Learning about web development is kind of like having too many things on a plate. This blog serves as a way to get your acquainted with the world of web app development.
Read more →
Total votes 4: ↑2 and ↓20
Comments0

Introducing PHP 7.4: Performance, Features, Deprecations

Reading time7 min

PHP evolves continuously and they just released their latest PHP 7.4 update. Performance and speed keep advancing, as we have already been proved in the past PHP 7 releases. Preloading is one of the most thrilling new updates. It quickens script execution and makes code cleaner and faster due to the simplified common lines of code.


PHP is an important element in the world wide web and is used in over 79% of all websites. Well-known websites like Facebook, Wikipedia, WordPress and much more are using PHP.
We can see a double speed increase when looking at WordPress sites running PHP and comparing PHP 5 and 7. While using the latest PHP version out there — WordPress powered websites gain the most.

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