by vinova | Apr 20, 2021 | Ruby on Rails
While CSS isn’t as widely used as JavaScript, it’s still in the top 10 coding languages, according to Redmonk. Since CSS is quite robust, reasonably easy to learn, and universal across different browsers, it’s popular among website developers. As it is with every coding language, there are several shortcuts or hacks with CSS that allow you to write cleaner code, improve design elements, and save valuable time. Furthermore, you can directly insert these snippets to your site using a code editor. It is also important to know that you don’t have to be a senior web developer to use CSS. Data from W3Techs show that CSS is used by 96 percent of all websites, and being able to use CSS to enhance the layout and appearance of a website is integral to the functioning of major open source CMSs like WordPress. In fact, most of the biggest website builder tools (generally known for promoting a “What You See Is What You Get” or WYSIWYG approach) now allow users to insert custom CSS code. If you’re new to CSS, freeCodeCamp has an excellent tutorial video on Youtube where you can learn the basics. If you already know the fundamental aspects, then let’s get started with these ten CSS hacks. 1. How to position content in the center with CSS Placing content in the middle of the screen might be tricky. However, you can use position: absolute to override the dynamic placement and always position the content in the center. It also works with every resolution across devices. However, always double-check if everything is positioned as you want it and the...
by vinova | Apr 18, 2021 | mobileapp
Greetings! Glad to see you back. This is the fourth and final chapter in our React Native and Redux cryptocurrency app series. So far we have: Set-up our project Wired up Redux Fetched data with Redux The only thing for us to do is create our views with React. The most fun part! Where we left off Quick change: set the CryptoReducer.js intialState data prop to an empty array instead of null! It won’t work if you don’t do this — apologies! https://medium.com/media/16bd7b521486654913c023e861688a0d/href Alrighty, here’s what’s left to do: Create a stateless component called CoinCard.js and create the list item. Remember the sketch called “thinking in React” from the old times? “Thinking in React” Source This perfectly explains how our app works. It goes like this: The yellow border is our App.js — app container Blue border is our Header.js component Green border is our CryptoContainer.js — holds our list items Red and neon blue is our CoinCard.js — lists items. Makes sense, right? All we need to do is implement the red and neon blue borders. Start by creating the stateless component. Looks good! Import View, Text, StyleSheet from “react-native” — we need these to create our view. Next let’s declare our props. Let’s name these the same as the data in our API. Next up, let’s add the coin icons. Unfortunately, the API does not include icons, so we have to compensate. Not to worry — I’ve got your back! Make a file in Utils called CoinIcons.js and add these links. I uploaded the icons to and host them as static assets. If you want to help me — feel free to add the rest and make a PR! Here’s the icon set. https://medium.com/media/85f3cf9bfadd9144241eef24be98ccbf/href Did you notice something new other than the CoinIcons folder? Yep, we imported the Image tag from...
by vinova | Apr 18, 2021 | Cyber Security
by Michael Cheary Looking for a new skill? Cyber security could be for you… With businesses increasingly concerned about the safety and security of their information, demand for people working in the industry is on the rise. In fact, cyber security jobs advertised on reed.co.uk are up 99% year-on-year – meaning there’s never been a better time get started. We spoke to the experts at e-Careers, one of the UK’s biggest providers of cyber security qualifications, to find out more about the current skills shortage – and how you can help fill it. What is cyber security? Cyber security is the name given to the technologies and processes set out to protect online data – primarily from attacks and unauthorised access. It’s a billion pound industry, and one that continues to grow as threats from the likes of malware, ransomware, phishing, DDoS attacks and hacking steadily increase. Why is cyber security important? With almost all of our personal data now stored online, cyber security attacks have the potential to completely ruin businesses – not to mention people’s lives – in the process. And with a number of recent high-profile attacks, such as those on the NHS, Yahoo and LinkedIn, companies are becoming increasingly concerned with any potential leaks that could occur. This means companies large and small are turning to cyber security professionals to help them keep their sites and their customers’ details safe. Why is there a cyber security skills gap? Because of how fast the numbers of cyber security opportunities out there are rising, the UK workforce is struggling to meet demand. According to a 2020...
by vinova | Apr 17, 2021 | Cyber Security
Credit: CC0 Public Domain A huge volume of digital data has been harvested, stored and shared in the last few years from sources such as social media, geolocation systems and aerial images from drones and satellites, giving researchers many new ways to study information and decrypt our world. In Switzerland, the Federal Statistical Office (FSO) has taken an interest in the big data revolution and the possibilities it offers to generate predictive statistics for the benefit of society. Conventional methods such as censuses and surveys remain the benchmark for generating socio-economic indicators at the municipal, cantonal and national levels. But these methods can now be supplemented with secondary, mostly pre-existing data, from sources such as cell-phone subscriptions and credit cards. According to the FSO’s 2017 Data Innovation Strategy, “The goal of data innovation is to enhance the quality, scope and cost-efficiency of statistical products and to reduce the response burden on households and businesses.” Anonymized data Against this backdrop, a team of scientists at EPFL’s Laboratory on Human-Environment Relations in Urban Systems (HERUS) conducted a ground-breaking study on novel uses for the data held by insurance companies. The lab’s leading partner company, La Mobilière, provided anonymized data from hundreds of thousands of policyholders. These data included factors such as age, residential postal code, car- and homeownership, and employment status. “We wanted to see if we could use these data to predict specific socio-economic indicators—ones that could give us a better picture of the quality of Switzerland’s urban areas. One big advantage of the data held by insurers—provided they’re willing to share it—is that they are cheap to use, since...
by vinova | Apr 16, 2021 | mobileapp
How to send push notifications to a browser in ASP.NET Core Written by Kristoffer Strube, November 03, 2020 Progressive Web Apps (PWAs) enables a website to make make a lot of interactions that are app-like. Among these are Push Notifications. This is a functionality that enables you to make native notifications for many different devices and to invoke these notifications even when the browser is not active. A lot of websites like the Twitter web app use this functionality with its original intent, but there are of cause also sites who use it maliciously. In this article, we will show how you can subscribe to Push Notifications using ASP.NET Core and how you can send Push Notifications from .NET as well. Setting up a minimal PWA Before we can get started we need to set up a minimal Service Worker and Manifest to meet the minimum requirements for a PWA (Progressive Web App) since this we need a PWA for using the Notification API. We first create the manifest by making a JSON file called manifest.json which we will place in the wwwroot folder. Here we define the name for the app, the name that will be displayed in the app, if installed on a device, icons for the app in a variety of sizes, the front page URL of the site if the website can be installed as a standalone app, and at the end theme colors. We add a reference to the manifest in the head of our layout file which is used in all our views <link rel="manifest" href="/manifest.json">. We then need to add a Service...
by vinova | Apr 15, 2021 | Ruby on Rails
Technology has completely changed the landscape of pretty much every profession. Not only does it play a vital role in our work lives, but it has also transformed daily lives as well. Moreover, information technology has opened many doors for a range of different careers, and web development is one of those. It’s especially helpful for the students as it not only provides them with a handsome amount of money, but it also helps them to gain experience. This article helps the students to learn how to start a web development career. If you’re looking for something similar, then keep reading this article till the very end. So, let dive into it. Easy Steps to Start a Web Development Career Web development is one of the most lucrative jobs in the world. According to the Bureau of Labor Statistics 2019, the annual wage of a web designer/web developer is about 74,000 US dollars. It is the process in which you create websites. Web developer jobs require three main specialties that you must be aware of. If you don’t have any previous experience in web development, then consider following the steps mentioned below. Find the Right Training The first and by far the most important thing to consider is finding the right training platform. It allows you to work out all the necessary things you need to start your web development career. Maybe you know a thing or two about HTML. But the most important thing about web development is to try doing the coding yourself. There are many other programming languages, and you will need to learn some of...
by vinova | Apr 14, 2021 | mobileapp
I’d like to think I know Node pretty well. I haven’t written a web site that doesn’t use it for about 3 years now. But I’ve never actually sat down and read the docs.As long-time readers will know, I am on a journey of writing out every interface, prop, method, function, data type, etc related to web development, so that I can fill in the gaps of what I don’t know. The Node docs were my last stop, having finished HTML, DOM, the Web APIs, CSS, SVG, and EcmaScript.This held the most unknown gems for me, so I thought I’d share them in this little listicle. I will present them in descending order of appeal. As I do with my outfits when I meet someone new. The querystring module as a general purpose parser Let’s say you’ve got data from some weirdo database that gives you an array of key/value pairs in the form name:Sophie;shape:fox;condition:new . Naturally you think this might be nice as a JavaScript object. So you create a blank object, then you create an array by splitting the string on ; , loop over it, for each item, split it again on : and add the first item in that array as a prop of your object setting the second as the value.Right?No! You use querystring const weirdoString = `name:Sophie;shape:fox;condition:new`;const result = querystring.parse(weirdoString, `;`, `:`); // result:// {// name: `Sophie`,// shape: `fox`,// condition: `new`,// }; Query String | Node.js v7.0.0 Documentation V8 Inspector Run node with --inspect , it will tell you a URL. Paste that URL into Chrome. Boom, debugging Node in the Chrome DevTools....
by vinova | Apr 14, 2021 | mobileapp
Whether we’re talking about enterprise mobile apps or consumer apps, choosing the right mobile development technology, isn’t a quick or easy process. With such a broad offering of development platforms, it’s easy to get lost. It all depends on your business goals, on your budget, and even on your resources. That’s why, to make it easier for you, we did some in-depth research on the best mobile app development platforms (MADP) on the market based on three categories. Choosing the Top Mobile App Development Platforms (MADP) Here are the platforms we took for a test drive. Free Cross-Platform Mobile App Development Tools Small Budget Cross-Platform Mobile App Development Tools Enterprise Cross-Platform Mobile App Development Tools Adobe PhoneGap (Cordova) Cocoon Microsoft Xamarin Ionic Framework Trigger.io Appcelerator React Native RubyMotion Salesforce App Cloud NativeScript AppGyver Alpha Software Flutter Sencha Mendix Zoho AppCreator Kony OutSystems Now, if you’re comparing the technical requirements of the best mobile app development platforms on the market, these articles are an excellent starting point to find your dream platform. To see one in action, check out the video below. Why an MADP? Why Should You Develop for Mobile With A Platform? When you’re launching a digital or mobile strategy, one of the first questions you need to ask yourself after defining your business goals is which is the best app development platform for you. When you decide to adopt a mobile strategy at enterprise level and transform your business, a few things are about to happen: the demand for new apps will increase, as well as the need for speed and agility. Why? Because in a world...
by vinova | Apr 14, 2021 | Cyber Security
As organizations increasingly embrace remote working and remotely-monitored industrial operations, newfound gaps in the network’s cyber security preparedness become apparent. In fact, more use of cloud-hosted remote apps, services and resources – for all the useful and convenient accessibility they bring – can also further expose company systems and assets to a wider cyber threat landscape. The cyber protection programs of many organizations were configured for on-premise protection, but many of the newer tools and services in production are cloud-based. Hence a lot of on-premise cybersecurity solutions that were cutting-edge and capable of company-wide protection when they were first installed, are now outmoded in the face of an ever-evolving threat surface that can’t be secured just by shielding endpoints. Today the cyber challenges threaten an organization on many fronts, and the advent and rapid adoption of cloud solutions (often from different service providers that offer the best toolset for specific needs) has created multiple-threat zones that are difficult to compartmentalize and therefore identify cases of malicious activity. The threat variety is extremely diverse and multi-shaded. Security lapses might include data breaches, broken authentication and account hijacking — while some activities may not seem particularly threatening, but are signs that the enterprise is being “scoped” in ways that don’t necessarily raise red flags when regarded in isolation. At stake is the organization’s data, and (typically) from that data, monetary gain. But reputational damage alone can cripple some companies, especially in sensitive verticals. Once compromised, it might be possible to recover original data or be assured that the data loss was not game-changing. But if malicious actors were to capture data...
by vinova | Apr 12, 2021 | mobileapp
Whether you’re building a React Native Tinder Clone or an original dating app, you’ll eventually end up implementing the UI for React Native Swipe Cards. At Instamobile, we built a Tinder cards component in React Native, for our Tinder Clone app. If you’re looking to learn how to build an app like Tinder in React Native, this tutorial is the perfect place to get started from. Did you use Tinder? If yes, then you may be familiar with the swiping functionality where a right swipe means “like” and a left swipe means “dislike”. For those who don’t know, two users swipe right on each other, then they can start chatting in the app. In today’s article, we are going to make a Tinder-like card swiper component in React Native. The card swiper component provides an amazing look and feels to display information. I hope you are not new to React Native because we have already discussed how to setup React Native and other stuff in previous tutorials. After setting up React Native, let’s create an image array which will be shown on swipes. Take a look at the code given below: Implementing the Main Swipable Image View Firstly, we are going to create an array of images. It is just a simple array of images, coded in pure JavaScript. Let’s now define the view layer for card swipers like dimension, width, and height. Preparing the card stage: For cross-device compatibility, we are getting the device width and height from an environment variable, which is dynamic and corresponds to the device’s height and width. We use Dimension and store the values...
by vinova | Apr 10, 2021 | mobileapp
API-based projects are more and more popular, and they are pretty easy to create in Laravel. But one topic is less talked about – it’s error handling for various exceptions. API consumers often complain that they get “Server error” but no valuable messages. So, how to handle API errors gracefully? How to return them in “readable” form? Main Goal: Status Code + Readable Message For APIs, correct errors are even more important than for web-only browser projects. As people, we can understand the error from browser message and then decide what to do, but for APIs – they are usually consumed by other software and not by people, so returned result should be “readable by machines”. And that means HTTP status codes. Every request to the API returns some status code, for successful requests it’s usually 200, or 2xx with XX as other number. If you return an error response, it should not contain 2xx code, here are most popular ones for errors: Status Code Meaning 404 Not Found (page or other resource doesn’t exist) 401 Not authorized (not logged in) 403 Logged in but access to requested area is forbidden 400 Bad request (something wrong with URL or parameters) 422 Unprocessable Entity (validation failed) 500 General server error Notice that if we don’t specify the status code for return, Laravel will do it automatically for us, and that may be incorrect. So it is advisable to specify codes whenever possible. In addition to that, we need to take care of human-readable messages. So typical good response should contain HTTP error code and JSON result with something like this: Ideally,...
by vinova | Apr 10, 2021 | mobileapp
We all are diving in the world of Smartphones and tablets. The backbone of these gadgets are –applications, which in general known as – Mobile apps. Mobile apps provide a lot of benefits to the end-users and organizations. Business owners are delivering apps for different purposes such as – customer awareness, revenue generation, workforce productivity etc. This leads to emerging demands of mobile applications and app development companies as well. Every unit of a development firm is capable and up-to-date with the latest concepts and app development trends. For the sake of all of you, we prepared a list of all the latest trends that describe the future of mobile app development. Let’s have a look – 1. IoT( Internet of things ) IoT stands for ‘Internet of Things’. It is a technology responsible for connecting physical objects with the smartphone or each other to communicate. From past some years, mobile app development is very much into IoT because of its advanced functionalities. The use of IoT is very common nowadays in electrically controlled devices. You can control these devices just with the help of your smartphone. No physical interaction required. For example, if you forgot to switch off your AC after coming out of the house, you don’t need to go there. You can turn off it with the help of your smartphone. 2. AI and Machine Learning Artificial intelligence was already booming in 2017. In 2018, it is the most common trend in app development. Brands are optimizing artificial intelligence and machine learning in their web-apps and mobile apps. The AI-powered apps can accomplish tedious tasks. Users love...
by vinova | Apr 10, 2021 | Cyber Security
Penetration testing is becoming increasingly common as organizations are starting to embrace the requirement for stronger cybersecurity. But there are yet too many businesses that don’t understand the benefits of regular security testing. Penetration testing is vital for any kind of organization with an IT system or website. A recent survey of penetration testers reported that 88 percent of those questioned stated they could infiltrate companies and steal data within 12 hours. This explains that almost all businesses are likely to be exposed to attacks. But many people do not know what a Penetration test includes particularly the types of vulnerabilities that testing benefits to identify. In truth, there are many various types of Penetration testing, and the results can depend mainly on which type you have carried. What Is A Penetration Test? A penetration test comprises a team of security professionals who actively try to break into your company’s network by using weaknesses and vulnerabilities in your systems. Penetration tests may involve any of the following purposes: Using social engineering techniques to enter systems and related databases. Sending of phishing emails to reach critical accounts. Using unencrypted passwords distributed in the network to reach sensitive databases. These attempts can be very intrusive than a vulnerability scan and may cause a rejection of service or increased system utilization, which may decrease productivity, and damage the machines. In some instances, you may schedule penetration tests and notify staff in advance of the exercise. However, this wouldn’t be suitable if you want to examine how your internal security team reacts to a “live” threat. A penetration test can decide if certain...
by vinova | Apr 10, 2021 | Ruby on Rails
By Jess Feldman Last Updated December 15, 2020 Professional musician Léo McKenna relied on odd jobs and performances to pay the bills. When the COVID-19 lockdown threw Léo’s financial stability into limbo, he turned to . Léo shares how ’ 12-week, remote web development bootcamp provided him with a new sense of purpose, and why he now feels confident about his future as a developer-musician. Plus, Léo answers the age-old question: do musicians and performing artists make great developers? As a professional musician, what inspired you to get into web development? I’ve been devoted to music since I was eight years old and I have worked professionally in choirs since I was 18, but a career in the arts is financially precarious. That said, I don’t see myself ever leaving the field permanently. I’ve done odd jobs trying to supplement my income as a bartender, mover, server, you name it! When the pandemic hit this year, it negatively impacted arts organizations and I lost my job. I’m currently studying music performance at McGill University, but I’ve always been interested in computers and programming — I just never had time to pursue that interest until now. When the pandemic hit, I jumped on the opportunity to add to my skill set. I now plan to work full-time as a developer until I complete my music training and I can pay off my student debt. There are so many coding bootcamps now — why did you choose ? Lighthouse Labs focuses on JavaScript whereas other bootcamps focus more Ruby on Rails. My mother works as a project manager and some of...
by vinova | Apr 8, 2021 | mobileapp
Node.js or as commonly called NodeJS, is an open source , cross platform Java Run time environment based Chrome’s V8 JavaScript engine, meant for server-side programming. It allows us to run scripts on server-side to produce dynamic web page content before the page is sent to the user’s web browser. It allows to easily develop networked applications that require back-end functionality with Java-scripts being used on both front-end & back-end. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. In this tutorial, we will learn to install Node.JS on Ubuntu & CentOS machines. (Recommended Read: – ) Pre-requisites We need to have some packages like ‘gcc, gcc-c++’ installed on our systems. Install them on CentOS using the following command, $ sudo yum install gcc gcc-c++ For Ubuntu, install them using the following command, $ sudo apt-get install build-essential Install NodeJS on Ubuntu We can install either of the two available Node.JS versions i.e. 6 (which has long term support) or 9 (which is the latest version available). For installing Node.JS, we will add the official repositories on our system, use the following command to add the repository, For Node.JS 6, $ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash – For Node.JS 9, $ curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash – Once added, install Node.JS using the following command, $ sudo apt-get install nodejs We can also install Node.JS using the source code, method has been discussed below. Install NodeJS on CentOS On CentOS, we can either install Node.JS from EPEL repository or from official Node.JS repositories. Both methods have been shared below. Using EPEL...
by vinova | Apr 6, 2021 | mobileapp
If you’re into mobile app development, the name of React Native mustn’t be new for you. The term has been trending in the world of technology for quite some time now. Since Facebook formally launched it as an open-source platform, a lot of businesses have already incorporated it into their process.Just like any other origination, React Native comes with its own pros and cons. Despite the fact that professional web developers still prefer working with the native tools, there are a thriving number of budding developers who’re considering React Native for their projects.This post is targeted to highlight the theoretical as well as practical aspects of using React Native in comparison with the Swift. To make this comparison, we have two almost identical apps in both frameworks (please check out details at https://github.com/weblab-technology/swift-honors-app https://github.com/weblab-technology/react-native-honors-app )My objective was to keep these apps as simple as possible so that it would be easier make a fair comparison in between important aspects of both the platforms. Below you will find a detailed analysis of the apps developed in Swift as well as in React Native in terms of CPU, GPU, and memory consumption. So let’s explore! Swift vs React Native Okay, so this app involves Facebook login, Facebook profile recovery, Database recovery, and Tab Bar Controller. I’ve codified the similar app in Swift as well as in React Native and will be using a real device to assess the performance of these apps . My objective is to equate them against each other to observe which one platform performs better. The Swift Unlike other languages, Swift is comparatively easy to work with,...
by vinova | Apr 6, 2021 | mobileapp
How much does it cost to get a mobile app developed The easy accessibility of mobile phones has accelerated the growth of mobile applications worldwide. In 2019 alone, over 209 billion app downloads were recorded globally; which is a noteworthy feat in this field. A report by Statista suggests that the number of is slated to touch a whopping 3.8 billion by the end of 2020. It was 2.5 billion just four years ago! These astounding numbers could do wonders in the coming years and might change the face of app development, too. Both small and large businesses have understood the power and importance of to engage their customers and drive sales. However, with the market saturated with freelancing services and mobile development companies, it has become extremely difficult to predict the cost of mobile application development. This is the main reason why small businesses cannot raise the right funds, and why large companies end up paying thousands to build a sub-par product. In this article, we will explore the factors that determine the cost of . We will also break down the factors, features, and methodologies that are involved in the process. If you are a business owner who is planning to develop a mobile application or hoping to rebuild an existing one, this article will offer you some valuable insight and clarity so you can take an organized and informed route. Factors that affect mobile application development cost The cost of mobile application development depends on multiple factors that range from the technology stack you choose to the developers you hire. There is no standard way to...
by vinova | Apr 6, 2021 | Cyber Security
After talking to machine learning and infrastructure engineers at major Internet companies across the US, Europe, and China, I noticed two groups of companies. One group has made significant investments (hundreds of millions of dollars) into infrastructure to allow real-time machine learning and has already seen returns on their investments. Another group still wonders if there’s value in real-time ML. There seems to be little consensus on what real-time ML means, and there hasn’t been a lot of in-depth discussion on how it’s done in the industry. In this post, I want to share what I’ve learned after talking to about a dozen companies that are doing it. There are two levels of real-time machine learning that I’ll go over in this post. Level 1: Your ML system makes predictions in real-time (online predictions). Level 2: Your system can incorporate new data and update your model in real-time (incremental learning). I use “model” to refer to the machine learning model and “system” to refer to the infrastructure around it, including data pipeline and monitoring systems. Table of contents …. Level 1: Online predictions – your system can make predictions in real-time …….. Use cases ………… Problems with batch predictions …….. Solutions ………… Fast inference ………… Real-time pipeline ……………. Stream processing vs. batch processing ……………. Event-driven vs. request-driven …….. Challenges …. Level 2: Incremental learning – your system can incorporate new data and update in real-time …….. Defining “incremental learning” …….. Use case …….. Solutions …….. Challenges ………… Theoretical ………… Practical …. The MLOps race between the US and China …. Conclusion Level 1: Online predictions – your system can...