Pull to refresh

All streams

Show first
Period
Level of difficulty

Writing a laptop driver for fun and profit, or How to commit to kernel even if you're not that smart

Reading time5 min
Views2.7K

Where it all began


Let’s start with our problem statement. We have 1 (one) laptop. A new, gamer laptop. With some RGB-backlight on its keyboard. It looks like this:

image
Picture taken from lenovo.com

There’s also a program installed on this laptop. That’s the thing that controls our backlight.

One problem – the program runs under Windows, and we want everything to work on our favourite Linux. Want LEDs to flash and those pretty colours to blink on and off and such. A natural question arises, can we do all that without reverse-engineering and writing our own drivers?

A natural answer arises, no. Let’s open IDA and get cracking.

Read more →

.NET docs what's new (December 2019)

Reading time2 min
Views1.1K
Welcome to what's new in .NET docs for December 2019. Listed below are some of the recent docs we've published. Find more in the full article below.

.NET Core


New articles



Read more →

WebRTC streaming in and around virtual reality

Reading time6 min
Views3.8K


Virtual reality is on the rise these days. The equipment that was previously the exclusive preserve of crazy scientists geeks with big money from the Ministry of Defense back in the The Lawnmower Man days, is currently affordable for ordinary people; those whose pockets are empty, can assemble a VR headset from cardboard and a smartphone according to many recipes.

Read more →

Hyper-V for Developers on Windows 10

Reading time6 min
Views6.4K
Hyper-V is more known as a server virtualization technology; however, since Windows 8, it is also available in the client operating system. In Windows 10, Microsoft improved the experience drastically to make Hyper-V an excellent solution for developers and IT Pros.
 
Microsoft Hyper-V, codenamed Viridian, is a native (type 1) hypervisor that directly runs on the hardware, compared to VMware Workstation, VirtualBox, and other type 2 or hosted hypervisors. It was first released in Windows Server 2008, and it allows you to run virtual machines on x86-64 systems.

As mentioned, with Windows 10, Microsoft optimized Hyper-V for developers. Hyper-V allows developers to quickly spin up development virtual machines on Windows 10 with excellent performance, but it is also used in a couple of other development features as a back-end technology, like the Android Emulator, the Windows Subsystem for Linux 2 or Docker Containers. In this article, we will have a quick look at what Hyper-V on Windows 10 can over for developers.
Read more →

A Second Year of Q#

Reading time3 min
Views1K
You can see all of the release notes for the year here.

Remember How We Started


Our first release of our second year, 0.4, was a triumph! we got a customer request for a big integer type on January 1st, and were able to respond by shipping a new BigInt data type just 29 short days later!!! Remember, we’re outside Seattle, pretty far north, so our winter days are really short.

Our secret? We had started working on the BigInt type in December.

We also decided to change our release cadence for our second year of Q#. Our first year, we had shipped releases sporadically, when we had some major feature to share, or possibly just a fix to an annoying bug. For our second year, we moved to a more regular release cadence, putting out a new release every month. We hoped that this would make things more predictable for our users and easier for us to manage.

Read more →

Channel quality indicator for server WebRTC over TCP

Reading time5 min
Views2.7K


Publish and Play


There exist two main functions of WebRTC operation on the server side in the field of streaming video: publishing and playing. In the case of publishing, the video stream is captured from the web camera and moves from the browser to the server. In the case of playing, the stream moves in the opposite direction, from the server to the browser, is decoded and played in the browser’s HTML5 <video> element on the device’s screen.

Read more →

Learn Azure in a Month of Lunches — our new free e-book

Reading time1 min
Views1.4K
More than 100 Azure services offer everything you need to build and run your applications with all the performance, redundancy, security, and scale that the cloud has to offer. But knowing where to begin with all these services can seem overwhelming. 

Read this e-book to build your cloud computing skills quickly and efficiently. You’ll be productive immediately, and when you finish, you’ll be well on your way to Azure mastery. 

Learn more below.


Read more →

Quick reference of C++ value categories: Part 2

Reading time41 min
Views2.7K



Go to Part 1


Passing parameters to a function


When passing parameter to a function, category of a passed expression is implicitly converted to the category of function parameter: void f(TO_TYPE p); FROM_TYPE x; f(x); This implicit conversion takes place the same way as during an assignment (see "Assignment" section above) except that function definition cannot contain "auto" types.


Read more →

How to Implement Tinder Swipe Cards in SwiftUI

Reading time7 min
Views14K
In June, we heard about SwiftUI for the first time — a totally new way of creating and working with UI elements in iOS and macOS (also iPadOS) apps. It felt like Christmas in the summer. It's new, it's declarative, it's sexy! And now, just a few weeks after iOS 13 has been released, we can start to use SwiftUI in all our projects. Let's learn how to use this amazing tool that Apple gave us, to create the classic Tinder-esque Swipe Cards.

In this article, I would like to show you how to achieve a Tinder-like card view and behavior (swipe to action), with just a few lines of code.

To achieve this, we need to do the following things, in order:

  • Create UserView
  • Create NavigationView
  • Create BottomBarView
  • Create SwipeView
  • Put all this together inside ContentView

So let's get started.
Read more →

How did the test task become a production library

Reading time5 min
Views2.3K
Hello everyone!

Today I'm going to tell about how is test task to job interview became the library Image Comparison. It's an open-source library, which is hosting on GitHub.

logo

Before I start, let me introduce myself. My name is Roman. I'm a husband and father. I'm a software engineer in Epam Systems with 4 years of experience in IT.

The main idea of this topic is to tell, that creating an open-source product it's not wasting time, no! It's an amazing experience, which is going from all the open-source community. It's a time when you're a developer, project manager, product manager in one head.

While this library is growing I have been working with people from more than 10(!!) countries, such as the USA, Germany, Chine, India, Russia, Ukraine, etc.

Let's move on from the start of this story…
Read more →

SpaceFusion: Structuring the unstructured latent space for conversational AI

Reading time4 min
Views1.4K
A palette makes it easy for painters to arrange and mix paints of different colors as they create art on the canvas before them. Having a similar tool that could allow AI to jointly learn from diverse data sources such as those for conversations, narratives, images, and knowledge could open doors for researchers and scientists to develop AI systems capable of more general intelligence.


A palette allows a painter to arrange and mix paints of different colors. SpaceFusion seeks to help AI scientists do similar things for different models trained on different datasets.
Read more →

Top profitable ride-hailing business models implemented by growing Uber like taxi apps

Reading time5 min
Views4.8K
image

There was a time when moving from one place to another was a matter of utility. People did not Care About Us lyrics like comfort. Public transportation was dominating the landscape of movement and private transport was considered a luxury.

Today, we live in a world where people expect more than just the movement. They do not want to compromise on the aspects of comfort and convenience. They would like to be picked up from their doorstep and they would like to be dropped precisely in the place that they want to be.

These transformations have given rise to the business of ride-hailing. There are a lot of companies that provide the service of transportation by picking people from one place and dropping them in a place of their choice.

The constructive onslaught of Smartphones enabled with GPS made the business of ride-hailing efficient, profitable and delightful to the customer.
Read more →

Localization or Creative Adaptation? Case Study of the Game Streets of Rogue

Reading time5 min
Views1.2K


About the game Streets of Rogue


In 2017 tinyBuild released Streets of Rogue, a unique visual successor to the hit game Punch Club. Streets of Rogue is remarkable for the variety of its game features and genre elements. The developers combined an intense top-down roguelike, a retro pixel art style, an atmosphere of irrepressible excitement, classic character levelling, and questing. The game revolves around playing through a series of randomly generated cities. This can be accomplished via brute force, stealth, or hacking — it’s up to you!


How and why the game needed to be localized


Streets of Rogue quickly garnered a warm reception from gamers and the press alike, so tinyBuild naturally decided to bring the game to a wider international audience.

Read more →

Complexity Waterfall and Architecture on Demand

Reading time10 min
Views1.7K

Logo


When talking about "bad code" people almost certainly mean "complex code" among other popular problems. The thing about complexity is that it comes out of nowhere. One day you start your fairly simple project, the other day you find it in ruins. And no one knows how and when did it happen.


But, this ultimately happens for a reason! Code complexity enters your codebase in two possible ways: with big chunks and incremental additions. And people are bad at reviewing and finding both of them.

Read more →

How to Write a Smart Contract with Python on Ontology? Part 4: Native API

Reading time4 min
Views1.8K
image

Earlier, I have introduced the Ontology Smart Contract in
Part 1: Blockchain & Block API and
Part 2: Storage API
Part 3: Runtime API
Today, let’s talk about how to invoke an Ontology native smart contract through the Native API. One of the most typical functions of invoking native contract is asset transfer.
Read more →

Getting started with Git and GitHub is easier than ever with GitHub Desktop 2.2

Reading time2 min
Views2K


Anyone who uses Git knows that it has a steep learning curve. We’ve learned from developers that most people tend to learn from a buddy, whether that’s a coworker, a professor, a friend, or even a YouTube video. In GitHub Desktop 2.2, we’re releasing the first version of an interactive Git and GitHub tutorial that can be your buddy and help you get started. If you’re new to Desktop, you can download and try out the tutorial at desktop.github.com.
Read more →

The Story of Nitro, a professional translation service that helps developers with localization and multilingual support

Reading time6 min
Views1.3K


Localizing your product can involve many pitfalls, and there are two of them that developers face AFTER the content has been localized: translating the product updates, and offering support for international users of the localized versions.

In this article, we will demonstrate how these issues can be solved with just a few clicks.

Written by Alconost
Read more →