Pull to refresh

All streams

Show first
Period
Level of difficulty

[SAP] SAPUI5 for dummies part 1: A complete step-by-step exercise

Reading time2 min
Views3.9K


Introduction & Recap


In the previous blog post, we have created a new SAPUI5 application on our SAP SCP WebIDE Full stack and we have configured it to use the destination to the SAP Netweaver Gateway Demo ES5.


What will be covered on this exercise


  • What is an XML Metadata Manifest and what’s inside it?
  • How to use our OData Model and bind it into our application
  • Use a sap.m.Table with items and property binding
  • Use sap.ui.model.type.DateTime to format JavaScript Date
  • How to style columns to act differently on mobile/tablet/desktop devices
Read more →
Total votes 16: ↑14 and ↓2+12
Comments4

Automation VS Chaos

Reading time5 min
Views1.1K
image

IT technologies evolution allowed to control huge data flows. Business has a lot of IT solutions: CRM, ERP, BPM, accounting systems or at least just Excel and Word. Companies are different too. Some of companies are composed of plenty branches. Let’s name such as “Pyramid”. Pyramids have data synchronization issue for pile of IT systems. Software vendors and versions differ for branches significantly. In addition management company continuously modify reporting requirements that causes frustration assaults in the branches. This is a story about the project I happened to encounter chaos that needed to be systematized and automated. Low budget and tight deadlines limited the use of most existing industrial solutions but opened up scope for creativity.
Читать дальше →
Total votes 12: ↑12 and ↓0+12
Comments0

Another event for CSS position: sticky

Reading time1 min
Views3.8K

Have you ever wondered how to track when elements with positions: sticky become fixed? Eric Bidelman has an amazing post on this topic, go and read it now.


I've found some difficulties while using it in my project. Here they are:


  1. It breaks encapsulation. sticky-change event relates to header element, but you have to insert sentinels to header's parent (and make it position: relative).
  2. It involves lots of factors that should be consistent and their connection is not always obvious. For example you can't set --default-padding greater than 40px, which is top-sentinel's height.
  3. You can't track block in the middle of an article.

Let's try to improve it!

Читать дальше →
Total votes 14: ↑13 and ↓1+12
Comments0

List of Software Used for Embroidery Digitizing

Reading time5 min
Views19K
Embroidery can be a great way to personalize your clothing. You can add your name or the logo of your business. To make the process easier, many embroidery machines work with computer software. This allows you to create the design, then transfer it to the embroidery machine. By doing this, you’ll be able to automate the process. This will reduce the time it takes to produce beautiful designs.
Because of these benefits, there is a range of software options for you to choose from. This gives you a lot of choices to consider when picking what you want to use. But it can make finding the right one more challenging. Let’s look at some of the best software options to consider.

Hatch


If you’re looking for a leading type of software, you can try Hatch. This is based on three decades of experience. It also has a lot of innovative features that make it easy to use. First, it automatically assigns things like stitch length and placement, to suit the design you create. It also has an automatic branching function, so you’ll be able to sew continuously, rather than in stops and starts.
This software also comes with a lot of tools that are designed to make it easy for you to transform the design onto the computer. For example, you’ll be able to put a hand-drawn sketch into the software. You can also download one of the many existing designs. By doing this, it will be easy for you to create innovative embroidery designs. There are multiple levels, so you’ll only need to pay for the features that you find the most useful.
Read more →
Total votes 24: ↑18 and ↓6+12
Comments13

Harnessing the Power of Machine Learning in Fraud Prevention

Level of difficultyMedium
Reading time6 min
Views7.4K

Picture this: A thriving e-commerce platform faces a constant battle against fake reviews that skew product ratings and mislead customers. In response, the company employs cutting-edge algorithms to detect and prevent fraudulent activities. Solutions like these are crucial in the modern digital landscape, safeguarding businesses from financial losses and ensuring a seamless consumer experience.

The industry has relied on rules-based systems to detect fraud for decades. They remain a vital tool in scenarios where continuous collecting of a training sample is challenging, as retraining methods and metrics can be difficult. However, machine learning outperforms rules-based systems in detecting and identifying attacks when an ongoing training sample is available.

With advancements in machine learning, fraud detection systems have become more efficient, accurate, and adaptable. In this article, I will review several ML methods for preventing fraudulent activities and discuss their weaknesses and advantages.

Read more
Total votes 11: ↑11 and ↓0+11
Comments1

An Unexpected Article About Our Unicorn: Who Is the PVS-Studio Mascot?

Reading time5 min
Views1.9K

PVS-Studio has a mascot that became inseparable from the brand - a unicorn. Lately we've been getting many questions about our magic steed: why the unicorn, why has he changed so much, does he have hooves, how come he doesn't wear pants, and how do we draw him. The answers are finally here, in this very article.

Attention: there will be a lot of pictures. And I mean A LOT.

Read more
Total votes 11: ↑11 and ↓0+11
Comments0

NTFS Reparse Points

Reading time8 min
Views2K
Hi, Habr. Here I have prepared for you a small guide about NTFS Reparse points (hereinafter RP). This article is for those who are just starting to dive into the Windows kernel drivers development. In the beginning, I will explain the theory with examples, then I will give an interesting task to solve.


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

Hypercube. How we gave developers test devices without losing any

Reading time11 min
Views4.9K
You can’t properly test and debug mobile apps without test devices, which there should be plenty of considering how the same code may behave differently on different models. So how do we keep track of these devices? How do we quickly provide developers and testers with the smartphones they need, configured the way they need, and without much red tape?

I’m Alexey Lavrenuke. Over the years, I’ve worn many hats: one of the authors behind Yandex.Tank, a speaker on load testing, and the guy who calculated energy consumption by mobile phones. Now I’m a Yandex.Rover developer on the self-driving car team.

After the phones and before Yandex.Rover, there was Hypercube.

A few years ago, the head of mobile development popped in to the load testing department and mentioned a problem they were having with test devices: phones had a tendency to inexplicably migrate from one desk to another. Picking the right device and then finding it had become a challenge. We already experienced working with mobile devices from building a digital ammeter to calculate energy consumption, so we decided to help our coworkers out and quickly rig up a handy contraption. We figured the whole thing wouldn’t take more than three months. Oh how wrong we were. Let me tell you what we were really in for.


''Dallas cube''
Read more →
Total votes 13: ↑12 and ↓1+11
Comments2

Making a demo for NES — HEOHdemo

Reading time26 min
Views5.3K
There is a lengthy history of computer arts festivals, also known as demo parties, held in Russia over the last quarter century. For decades, once in a while people from all over the country gather together to compete in their ingenuity at getting what was once deemed impossible out of the old or new computer hardware and mere bytes of code. A few leading annual events has been established in the early years. One of them, creatively named CAFe (an acronym for Computer Art FEstival), was held in Kazan from 1999 to 2003. It went under the radar since, making the way for the everlasting Chaos Constructions (1999 — now) and DiHalt (2005 — now). After so long hiatus, the last year CAFe made a loud comeback, returning in full glory — at least by the number of prods released, if not in the scale of the event itself. Presentation of the compo entries went far into the night, with the last demos being shown at 6 AM to the popping eyes of the few hardy ones. There was my demo, too, and this is the story of its making.

Read more →
Total votes 13: ↑12 and ↓1+11
Comments0

Install Powershell Module from Github Repository

Reading time2 min
Views6.2K
Hi there!

The latest years Powershell started expansion to other platforms and now works on Windows, Linux, and MacOS (I even managed to start it on raspberry Pi Debian distro).

And nowadays the main way for installing modules is PowerShell Gallery but in some situations, it still convenient to install modules directly from the source (the main reason — the main PowerShell modules repo configured to MyGet or NugetServer).

And it can be painful to install Module from GitHub — you should download archive, find modules folder extract archive content and then copy module folder to the Powershell Profile directory.

Moreover — people like me don't want to create a separate repository for each module (yes, I like the Release-Flow approach) so download and extract only the modules you are like -it even more difficult.
Read more →
Total votes 11: ↑11 and ↓0+11
Comments0

More than a game: Mastering Mahjong with AI and machine learning

Reading time2 min
Views1.2K


Microsoft researchers have developed an artificial intelligence (AI) system that has taught itself the intricacies of Mahjong and can now match the skills of some of the world’s top players.

The complex board game of chance, bluff, and strategy was invented in China thousands of years ago and remains a passionate pastime for millions of Asians today, with many dedicated competitors playing online.

Computers have learned to play Chess and another ancient Chinese game, Go, amid much fanfare in the past. But scientists at Microsoft Research (MSR) Asia see their achievement as far more than just a case of technology mastering yet another game.

The researchers – who named their system Super Phoenix, or Suphx for short – developed a series of AI algorithmic breakthroughs to navigate the uncertain nature of Mahjong. With more work, these could potentially be applied in real situations to solve problems thrown up by unknown factors and random events.
Read more →
Total votes 11: ↑11 and ↓0+11
Comments0

12 Soft Skills That Make IT Project Managers Unstoppable

Reading time6 min
Views5.9K
The increasingly competitive job market demonstrates that performing only based on hard skills alone is no longer sufficient. In project management reality, hard skills contain creating work breakdown structures, managing a project budget, earned value assessments and critical path charts. All these skills require technical background and applying professional knowledge and tools to perform well. What are the soft skills of leadership and how they help to uncover project managers' facilities?

image
Read more →
Total votes 13: ↑12 and ↓1+11
Comments2

A Brief History of Video Conferencing: From the Beginning to Full Commercial Use

Reading time11 min
Views9K
A Brief History of Video Conferencing

Video conferencing systems, so familiar to us today, have come a long way — more than a hundred years passed from fantastic ideas inspired by belief in unstoppable technical progress to the first mass implementation of video conferencing systems. A lot of dramatic events have come along the way. The way to success wasn’t easy at all.
Total votes 19: ↑15 and ↓4+11
Comments4

10 Books on Agile Project Management Worth Taking With You in 2020

Reading time6 min
Views11K
Books with the word «Agile» in their titles began to appear on the shelves of IT experts and other industries' professionals after 2001. The term was used during the declaration of the Agile Software Development Manifesto. Agile describes a software development methodology that is characterized by short life cycles leading to frequent product releases.

Today this iterative or incremental method affects various aspects of development and business including project management. What are the best sources to learn Agile? This post covers 10 powerful books that may enhance the skills of project managers and their teams.

image
Total votes 13: ↑12 and ↓1+11
Comments3

Machine Learning and Theory of Constraints

Reading time3 min
Views1.9K
Backlog prioritization requires simplification and weighting of tasks. Each one belongs to strategy like ads acquisition or CRO. We may consider turnover, operational costs, other metrics as input; profit margin, ROI — as output in case of retail. The perfect goal is to find 20/80 solution and focus resources on a single strategy at a time. Metrics tied to strategies gives the dimension of model. Sometimes unit economy relations are violated because of non-linearity. In practice it means low/insignificant correlation and poor regression. Example: it is impossible to separate acquisition and conversion — the quantity of acquisition affect its quality and vice versa. Decomposition of tasks/strategies assumes linear decomposition of nonlinear system. Besides nonlinear statistical evaluation of strategies is required when CJM can't be tracked or online/offline channels can't be separated.
Read more →
Total votes 13: ↑12 and ↓1+11
Comments2

Python Vs R — Data Science

Reading time3 min
Views3.7K
When mulling over the best programming language to use for data science, Python and R ring a bell (very quickly). While there are a lot of languages like C, C++, Java, Julia, Perl, and Scala, it's protected to state that Python and R are the harbingers in data science.

While a great deal of data researchers will discuss the customary shortcomings like data wrangling in R or data representation in Python, ongoing improvements like Altair for Python or R have adequately reacted to these shortcomings.

So which one would it be a good idea for you to decide for your next data investigation venture?

R has been ruling this space for a long time now. This bodes well as this programming language was explicitly intended for analysts.
Read more →
Total votes 11: ↑11 and ↓0+11
Comments0

«Reader» monad through async/await in C#

Reading time8 min
Views6.5K

In my previous article I described how to achieve the "Maybe" monad behavior using async/await operators. This time I am going to show how to implement another popular design pattern "Reader Monad" using the same techniques.


That pattern allows implicit passing some context into some function without using function parameters or shared global objects and it can be considered as yet another way to implement dependency injection. For example:


class Config { public string Template; }

public static async Task Main()
{
    Console.WriteLine(await GreetGuys().Apply(new Config {Template = "Hi, {0}!"}));
    //(Hi, John!, Hi, Jose!)

    Console.WriteLine(await GreetGuys().Apply(new Config {Template = "¡Hola, {0}!" }));
    //(¡Hola, John!, ¡Hola, Jose!)
}

//These functions do not have any link to any instance of the Config class.
public static async Reader<(string gJohn, string gJose)> GreetGuys() 
    => (await Greet("John"), await Greet("Jose"));

static async Reader<string> Greet(string name) 
    => string.Format(await ExtractTemplate(), name);

static async Reader<string> ExtractTemplate() 
    => await Reader<string>.Read<Config>(c => c.Template);
Read more →
Total votes 11: ↑11 and ↓0+11
Comments2

Finally, rejuvenation is a thing

Reading time6 min
Views3.2K

Preface


What is ageing? We can define ageing as a process of accumulation of the damage which is just a side-effect of normal metabolism. While researchers still poorly understand how metabolic processes cause damage accumulation, and how accumulated damage causes pathology, the damage itself – the structural difference between old tissue and young tissue – is categorized and understood pretty well. By repairing damage and restoring the previous undamaged – young – state of an organism, we can really rejuvenate it! It sounds very promising, and so it is. And for some types of damage (for example, for senescent cells) it is already proved to work!

Today in our virtual studio, somewhere between cold, rainy Saint-Petersburg and warm, sunny Mountain View, we meet Aubrey de Grey, again! For those of you who are not familiar with him, here is a brief introduction.
Read more →
Total votes 17: ↑14 and ↓3+11
Comments8

Detecting in C++ whether a type is defined: Predeclaring things you want to probe

Reading time4 min
Views2.2K
Last time, we used SFINAE to detect whether a type had a definition, and we used that in combination with if constexpr and generic lambdas so that code could use the type if it is defined, while still being accepted by the compiler (and being discarded) if the type is not defined.

However, our usage had a few issues, some minor annoyance, some more frustrating.

  • You had to say struct all the time.
  • If the type didn’t exist, the act of naming it caused the type to be injected into the current namespace, not the namespace you expected the type to be in.
  • You must use the struct technique with an unqualified name. You can’t use it to probe a type that you didn’t import into the current namespace.

We can fix all three of the problems with a single solution: Predeclare the type in the desired namespace.

Read more →
Total votes 13: ↑12 and ↓1+11
Comments0

Really typing Vue

Reading time6 min
Views7.5K

Logo


inb4: This is not another "setting up" a new project with Vue and TypeScript tutorial. Let's do some deep dive into more complex topics!


typescript is awesome. Vue is awesome. No doubt, that a lot of people try to bundle them together. But, due to different reasons, it is hard to really type your Vue app. Let's find out what are the problems and what can be done to solve them (or at least minimize the impact).

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