teleren/devto huggingface dataset:
Implement ActivityPub?
Tags: meta, proposal
Published: 2018-07-19 15:10:24

---
title: Implement ActivityPub?
published: true
description: 
tags: meta, proposal
---

Hi. I'd like to propose Dev.to implement [ActivityPub](https://www.w3.org/TR/activitypub/). ActivityPub is a W3C standard for decentralized social networking. It's currently implemented by a few different projects, including [Pleroma](https://pleroma.social/), [Mastodon](https://joinmastodon.org), [PeerTube](https://joinpeertube.org), [Plume](https://github.com/Plume-org/Plume), [PixelFed](https://pixelfed.social/), and more are coming every day. GitLab and Ghost both have open issues discussing adding support.

Adding ActivityPub support would expose dev.to to more than a million new users. Users on the other platforms would be able to follow and interact with dev.to users. Dev.to would gain much larger exposure, while still retaining full control of its own moderation. The lead dev of Mastodon wrote a post that explains the benefits [here](https://blog.joinmastodon.org/2018/06/why-activitypub-is-the-future/)

Thanks for taking the time to read this. If you have any questions, I'd be happy to answer them here or over at my [Mastodon account](https://toot.cafe/@zack).
A simple access control system for Rails
Tags: rails, gem, authentication, authorization
Published: 2018-07-19 14:45:28

---
title: A simple access control system for Rails
published: true
description: How to authenticate and authorize users in your Rails app
tags: Rails, Gem, Authentication, Authorization
---

**This post was moved to [GeekOverflow](https://geekoverflow.net/a-simple-access-control-system-for-rails/?utm_source=dev.to)!**
JavaScript Quiz Part 3
Tags: webdev, javascript, challenge
Published: 2018-07-19 13:54:40

---
title: JavaScript Quiz Part 3
published: true
description: quiz questions in JavaScript 
tags:  webdev,javascript,challenge 
---

If you miss the part 1 and part 2  check out [part1](https://dev.to/saigowthamr/javascript-quiz--5c5j),[part2](https://dev.to/saigowthamr/javascript-quiz-part-2-2iog)

>1. [ ]+{ }

>2. [ ]+0

>3. { }+1

>4. [ ]-0
How to increase your Bus Factor?
Tags: discuss
Published: 2018-07-19 12:02:29

---
title: How to increase your Bus Factor?
published: true
tags: discuss
---
Most developers will be familiar with the [Bus Factor](https://en.wikipedia.org/wiki/Bus_factor).

>The "bus factor" is the minimum number of team members that have to suddenly disappear from a project before the project stalls due to lack of knowledgeable or competent personnel.

The problem is it isn't always a simple thing to overcome in a development team whether it be someone on holiday, off sick or any number of things that mean someone isn't around to share their knowledge.

What is your approach to increasing your Bus Factor? How do you make sure that the whole team is brought up to speed on projects without reducing capacity too much?
Theming Your Android App
Tags: android, beginners, theme
Published: 2018-07-19 11:22:11

---
title: Theming Your Android App
published: true
description: In this post, we will explore different ways of theming our android apps.
tags: #android, #beginner, #theme
cover_image: https://thepracticaldev.s3.amazonaws.com/i/vhfjsc05q6kqjakr5cjl.jpg
---

Theming your android app might be quite of a task if you don't have an eye for design and color combination. It's much easier when you are placed on a project that has designs created by a UI/UX designer. 
A theme is applied throughout the entire app, not just a single view. Theming your app includes creating a color scheme for it. An android app's color scheme is made up of a primary color,or sometimes a combination of the primary color and secondary color.

__Primary Color__
The primary color is the color that the user will see on the screen and on your app's components the most. The primary color will appear on your appbar, status bar, and tabview for example.

__Secondary Color__
The secondary color can be used to emphasize the different components on the screen. The secondary color can be used on floating action buttons, progress bars, or switches for example. 

*Side Note:*
It is not always required to have a secondary color. The app can use the primary color's variants as it's secondary color. Primary color variants are the lighter and darker shades of the color.

So how do we tackle the task of theming our apps? Fortunately for android beginners, [Material Design](https://material.io/) has a cool color palette tool, called [Color Tool](https://material.io/tools/color/#!/?view.left=0&view.right=0).

![Visible Textview](https://thepracticaldev.s3.amazonaws.com/i/waozfo1n7mx5wodsn82l.PNG)

The Color Tool helps you visualize how your app would look like with the colors you would choose.
The tool also allows you to export the color xml and just paste it in your android colors.xml file.
You simply click on the *Export* button on the top right side of the website, it will then download your scheme as an xml file. You then simply copy the text from the xml file to your color.xml file of your Android project, as shown below:
![Visible Textview](https://thepracticaldev.s3.amazonaws.com/i/epl7rz9uowffxo20i43a.PNG)

Another awesome tool is the [Material Design Palette](https://www.materialpalette.com/), which also provides a visualization of the theme. You can simply click on the download button to get the xml version of the scheme, and then just simply copy and paste it into your colors.xml file. 
![Visible Textview](https://thepracticaldev.s3.amazonaws.com/i/oal3ez7uzxomr985v5r8.PNG)

With the tools made available, it is now easier to style your app. Some useful resources:
-[Material Design](https://material.io/)
-[Android Developer Guidelines](https://developer.android.com/guide/topics/ui/look-and-feel/themes)

Need some insipiration? Check out what other developers and designers are crafting on [UpLabs](https://www.uplabs.com/android).

*Credits:*
Cover Image - A big thank you to Markus Spiske, taken from [Unsplash](https://unsplash.com/)
What is the best testing framework for React application ?
Tags: discuss
Published: 2018-07-19 11:03:46

---
title: What is the best testing framework for React application ?
published: true
tags: discuss
---

I'm working on my first side project and this is the first time I'm going to work on testing as well . I'm comfortable with React but not with it's testing.

So, can anyone explain to me what's the most easiest and suitable way test a React application.

Just want to know the differences between [Mocha](https://mochajs.org/) , [Chai](http://www.chaijs.com/) , [Jest](https://jestjs.io/docs/en/getting-started) , [Jasmine](https://jasmine.github.io/) , [Enzyme](http://airbnb.io/enzyme/) . Can anyone please explain this to me ?

As a newbie to testing, what should I start with ?
Decentralized Apps (DApps): New Promise for Blockchain into Mobile Apps 
Tags: dapps, decentralizedapps, blockchain, mobileapps
Published: 2018-07-19 10:28:15

---
title: Decentralized Apps (DApps): New Promise for Blockchain into Mobile Apps 
published: true
description: While Blockchain has become the most popular technology to boost data security and widen accessibility.
tags: dapps, decentralizedapps,blockchain, mobileapps
---

While Blockchain has become the most popular technology to boost data security and widen accessibility, the promise of this technology for mobile apps could not be envisaged in proper light until the Blockchain based mobile wallets and Decentralised Apps (DApps) came. Well, while the first mainly deals with the process of securing mobile transactions and mobile payment, the later brings the Blockchain technology with the full potential of the mobile app users. This is why decentralised apps which are popularly known as DApps have become so popular a niche these days. 

The [promise of DAapps for mobile app developers is enormous](https://www.indianappdevelopers.com/blog/innovative-ways-blockchain-can-impact-mobile-app-development/). By allowing access to multiple blocks of information, these apps genuinely change the way mobile apps are developed. Such a distributed development process with a grid of information shared among developers brings developers the promise of far better collaboration and real-time data access. This has come as a significant boost to the development process inside many mobile app development companies. DApps are unique in facilitating widespread collaboration and access among developer teams to ease the development process and to shorten the development cycle. 

Are you curious about this new breed of apps? Do you want to know the critical attributes of DAapps which came as a significant promise for Blockchain mobile app development? Let us explain two things that play a primary role in mobile apps built with [Blockchain technology](https://www.cbinsights.com/research/what-is-blockchain-technology/) at the heart of things.

**Decentralized storage with a cryptographic security layer** 

One of the specialities of the decentralized apps or DAapps is that they are neither owned nor managed by a single business organization. Having, they work with several authenticated developers and designers and does not decentralized data architecture offer any constraint in their collaboration with data-centric operation and development activities. These apps maintain cryptographic security layer to prevent any unauthentic access and data breaching.

**Tokens**

Tokens are the other important type of Blockchain-based financial solutions with cryptographic protection for all transactional data. Just similar to significant Blockchain powered cryptocurrencies like the Bitcoin, these apps only work as a token or currency silently backed by Blockchain based security and accessibility protocols.
Choosing Android as a enterprise mobile app development
Published: 2018-07-19 09:58:17

---
title: Choosing Android as a enterprise mobile app development
published: True
description: 
tags: 
---
Computerized progression has reformed the world, reclassifying the eventual fate of the economy. Ordinary developing advances and natural <a href="https://www.hokuapps.com/products/mobile-application-development-platform/"> Enterprise Mobile App Development </a> are immensely changing the way we work and live today. Mobile is turning into a noteworthy piece of each application and most endeavors are grasping it to remain in front of the opposition. 

There are incalculable stages accessible today that offer simple advancement of enterprise mobile app development, for example, Android, Windows, Symbian, Blackberry and the iOS. A great deal of associations experience serious difficulties choosing the most ground-breaking and dynamic mobile stage for building up a devoted application for their organization. Enterprise Mobile Application Development is platform where you can easy to create custom apps.

Low Investment and High ROI:
Android stage bolsters a simple way to deal with settle in advertise .With its dependable Software Development Kit (SDK) it is offered allowed to the engineers. This strikingly lessens the application advancement and permitting costs.
For the item conveyance, a solitary time enrollment expense must be paid by the engineers. Following that, they can make utilization of any PC gadget to build up the application and test it on their cell phones. They can exhibit the application before the customers at any moment without issue. Refreshing created applications is additionally an improved errand while deciding the Android stage. 

Open Source
The enchantment of Android stage intensifies in view of its open source nature. The engineering of Android's Software Development Kit (SDK) is an open source which implies that the application designers can specifically communicate with the network for the anticipated extensions that are to be taught in android application improvement and hence helping them to access a prevalent innovation system. They are not required to pay furthermore for any licenses or sovereignties. This prompts a fast advancement of uses and gets better open doors for the application designers to procure enormous. 

Simple App Approval Process
All android applications are transferred on Google Play which has an uncomplicated application endorsement process sans any stringent and steadfast strategies. The application engineers can advantageously consent to the arrangement and pick up a simple section to the Android advertise for their enterprise mobile app development. This procedure is uniform for the two new companies and additionally for the set up application improvement organizations.
Hire GDPR Consulting Firms To Hold Data Attentively!
Published: 2018-07-19 07:29:26

---
title: Hire GDPR Consulting Firms To Hold Data Attentively!
published: true
---
Are you aware of GDPR! Why is it necessary for an organization? What is the main purpose of GDPR consulting firms? If all these questions are coming in your mind then you are not out of the way. You just need to know the basics! To help you out, a few points about this legacy are being shared which every organization needs to implement.

**What is GDPR?**

GDPR is the European Union’s General Data Protection Regulation which states that any entity monitoring European citizens will need to comply with GDPR. The law affects every company across the world that does business in the EU. 


This regulation has become the biggest transformations to global data privacy law within the past 20 years. These days, each and every business will prepare for the requirements which will soon be imposed through the approval of the GDPR.

**◘ Benefits of GDPR for an organization**

It modifies your strategy to privacy.
Tackles the value of your data and ensures that your organization is fit for tomorrow’s digital economy.

**◘ GDPR Consulting Services**

Are you ready? Many [GDPR consulting firms](https://www.sparxitsolutions.com/gdpr-compliance-services.shtml) provide an array of General Data Protection Regulation services to help customers earn an integrated view of their state of compliance towards the Data Protection Act and determine their eagerness towards this act.

Let’s have a look at some specific services where GDPR consultancy firms assist businesses:

**• Security Supervising**

Hiring GDPR Consulting service from a reputed firm means you are getting a chance to improve your information security structure. They will execute the perfect analysis to make each data protection activity up to the mark. 

**• Data Discovery:**

The best firm provides a consultant led data discovery exercise across your organization to generate an up to date register of your organization’s data processing deed. The data discovery service is used for providing the overall envision of the entire data of the company.

**• Privacy Impact Estimation:**

General Data Protection consulting service providers possess experienced consultants to assist in establishing the appropriate policies and procedures to enable the privacy impact for an organization. 

**Conclusion:**

A worldwide security consultancy firm helps you with custom-built governance strategies. It will help you identify the gaps in information safety measures that are required to successfully implement GDPR compliance. The experts at their end passionately work to get all the processes and operations ready for this effective law. 

tags: gdpr, gdpr compliance
Ubuntu Linux is everywhere and connecting everything
Tags: fossstories, linux, opensource, ubuntu
Published: 2018-08-13 20:37:11

---
title: Ubuntu Linux is everywhere and connecting everything
published: true 
tags: FOSS Stories,Linux,open source,Ubuntu
canonical_url: https://fossnaija.com/ubuntu-linux-is-everywhere-and-connecting-everything/
---

[Ubuntu Linux](https://fossnaija.com/i-love-ubuntu-linux/) is a very user-friendly desktop distribution (distro) of Linux that has played a significant role in bringing the Linux operating system to the ‘general’ public of computer users. It had become a success story of the strengths of the free and open-source software methodology of design software.

Many people have come to fall in love with the Linux desktop through Ubuntu. In as much that Ubuntu rules in the Linux desktop sphere, it now runs on a lot of useful hardware architectures. [Canonical](https://fossnaija.com/ubuntu-kills-unity-mirs-phone/), the company behind Ubuntu’s development, has released an infographic to show Ubuntu’s power and ubiquitous-ness. Have a look:

[![https://fossnaija.com/wp-content/uploads/2018/07/UBUNTU-EVERYWHERE](https://i2.wp.com/fossnaija.com/wp-content/uploads/2018/07/UBUNTU-EVERYWHERE.png?resize=665%2C4330&ssl=1)](https://i2.wp.com/fossnaija.com/wp-content/uploads/2018/07/UBUNTU-EVERYWHERE.png?ssl=1)

UBUNTU

Quite graphic, right? If you want to try Ubuntu you can [install it here](https://fossnaija.com/linux-installation-dual-booting-with-windows-7/).

**Happy Linux’NG!**

The post [Ubuntu Linux is everywhere and connecting everything](https://fossnaija.com/ubuntu-linux-is-everywhere-and-connecting-everything/) appeared first on [Foss Naija](https://fossnaija.com).
What's your worst estimate story?
Tags: discuss, story, estimate, carreer
Published: 2018-07-18 23:57:41

---
title: What's your worst estimate story?
published: true
description: Estimating is hard, specially when you first start out. 
tags: discuss, story, estimate, carreer
cover_image: https://thepracticaldev.s3.amazonaws.com/i/b9sgyjavp9ghy6dmpf8g.jpeg
---

_<center>Cover image by [@rawpixel](https://unsplash.com/@rawpixel) from [Unsplash](https://unsplash.com).</center>_

Some people might say that estimating is an art form, others consider it a skill, maybe even a science.

But the only thing we can all agree on is:

_<center>No matter your skill level/years of experience, you will probably be wrong.</center>_

So, what's your story?
First job in software development industry. Remote or Onsite?
Tags: discuss
Published: 2018-07-18 23:07:37

---
title: First job in software development industry. Remote or Onsite?
published: true
cover_image: https://thepracticaldev.s3.amazonaws.com/i/w1kttx6vfylg6u3y7h8v.jpg
description: 
tags: discuss
---

Most of the time remotely jobs have flexible working schedule. You can work at night or early in the morning. 

But, how would an entry level software developer react to a problem without help?
Instalar Google Fonts no meu MacOs
Tags: fonts, google, macos, typography
Published: 2021-04-14 12:14:02

---
title: Instalar Google Fonts no meu MacOs
published: true
date: 2018-07-18 22:39:37 UTC
tags: fonts,Google,macOS,typography
canonical_url: https://andersonbraz.com/instalar-google-fonts-no-meu-macos
---

Neste post eu demonstro como fazer a instalação de todas as fontes disponibilizadas pelo Google no seu computador MacOs para posteriormente utilizar essas tipografias em qualquer aplicativo que você estiver utilizando no seu computador pessoal.

## Introdução

Sempre que preciso de uma tipografia mais marcante ou que destaque os meus trabalhos, no contexto de web, sendo mais acessível e sem custos, recorro ao Google Fonts. E isso se torna viciante e com o passar do tempo criamos a necessidade de termos essas tipografias no Keynote, Powerpoint ou Word. Assim descobrimos algo extremamente simples para resolver esse pequeno problema.

## Como Resolver?

Você precisa apenas criar um clone do repositório de Google Fonts no diretório de fontes do seu sistema operacional, no nosso caso, o MacOs.

### Instalando o Google Fonts

Execute no seu terminal o seguinte comando:

```
 cd ~/Library/Fonts/
 git clone https://github.com/google/fonts.git google-fonts

```

### Atualizando o Google Fonts

```
cd ~/Library/Fonts/google-fonts/
git pull

```

### Removendo o Google Fonts

```
rm -rf ~/Library/Fonts/google-fonts/

```

## Conclusão

Como é simples resolver esse pequeno problema e aproveitar ao máximo do Google Fonts no seu computador pessoal.

Seja Feliz!

## Referência

[Github - Google Fonts](https://github.com/google/fonts)
Desde nuestras clases hasta nuestro APK
Tags: español, java, kotlin, android
Published: 2019-06-11 14:39:43

---
title: Desde nuestras clases hasta nuestro APK
published: true
tags: español,java,kotlin,android
canonical_url: https://medium.com/kotlin-dev-reactor/desde-nuestras-clases-hasta-nuestro-apk-e1b38f142f5c
---

![](https://cdn-images-1.medium.com/max/768/1*1nXkQEed2R-FRqZR4pxdbg@2x.jpeg)<figcaption>Sketchnote sobre el proceso de pasar desde nuestras clases hasta tener el APK — by <a href="https://medium.com/u/5c60da6ae31c">Armando Picón</a></figcaption>

Como Android Developers a veces pasamos por alto el proceso que se lleva a cabo por detrás y que de alguna forma nuestra IDE (Android Studio) nos oculta para no lidiar con ello.

Hoy en día con la inclusión de **Kotlin** a nuestro arsenal de lenguajes de programación disponibles para desarrollar aplicaciones Android es importante empezar a conocer dónde converge con otros nuestros otros lenguajes en especial con Java.

#### Generación de Java Bytecodes

En un principio, el proceso lo llevan a cabo los compiladores tanto de Java como de **Kotlin** para convertir el código fuente contenido en los archivos de extensiones .java y .kt a Java _bytecodes_ que estarán contenidos en los archivos .class que podrían ser interpretados por la _Java Virtual Machine_ (JVM). Menciono podrían porque en este proceso no se involucra a la JVM. Es importante señalar que estos bytecodes aún no son ejecutables por los entornos de ejecución de Android: Dalvik y Android Runtime (ART). Durante el proceso de compilación se toman en consideración las reglas descritas en nuestro archivo ProGuard, lo cual nos permite deshacernos de todo el código innecesario proveniente de las bibliotecas que nuestro proyecto haya declarado como dependencias. Hoy en día este proceso de optimización de dependencias es cubierto por R8, utilitario que además encierra las etapas que vienen a continuación en un único proceso.

#### Generación de Dex Bytecodes

La generación de los Dex Bytecodes pasan por dos etapas: La primera consiste en una etapa de _desugaring_ lo que implica reemplazar todas aquellas características novedosas de Java 8 por características equivalentes que sean compatibles con versiones anteriores de Java y que sí son soportadas por dispositivos antiguos. En una siguiente etapa, el **D8 Compiler** (el nuevo dex compiler que remplaza a DX) toma los _java bytecodes_ y los convierte a **_dex files_** los cuales pueden ser ejecutados por los entornos de ejecución de Android.

#### Creación del APK

Una vez que todo el código ha pasado por las compilaciones, se prepara un archivo empaquetado (.apk) el cual nos servirá como archivo de distribución para desplegarse en nuestros equipos con Android.

#### Referencias:

- ART and Dalvik | Android Open Source Project  
[https://source.android.com/devices/tech/dalvik/](https://source.android.com/devices/tech/dalvik/)

* * *
Spin up cloud computing resources in seconds with Digital Ocean
Tags: cloud, cloudstorage, cloudcomputing, digitalocean
Published: 2018-07-18 17:21:36

---
title: Spin up cloud computing resources in seconds with Digital Ocean
published: true
description: join now and get $10 in credit using my link
tags: cloud, cloud storage, cloud computing, digital ocean
cover_image: https://thepracticaldev.s3.amazonaws.com/i/e4z27avw1g99cyxk02k9.jpg
---

I currently host my blog and several cloud servers for research and development in the cloud with [DigitalOcean](https://cloud.digitalocean.com/). You can easily deploy an SSD cloud server in just 55 seconds. If you sign up using my link, you will receive $10 in credit: 


https://m.do.co/c/720910b495ad