teleren/devto huggingface dataset:
Introducing our August 2019 sponsors
Tags: meta
Published: 2019-08-02 13:43:24

---
title: Introducing our August 2019 sponsors
published: true
description: Our wonderful sponsors are vital to the health of dev.to and it is great to work with companies contributing so much to the ecosystem.
tags: meta
cover_image: https://thepracticaldev.s3.amazonaws.com/i/kg6i3dpfe2ufzvreekny.png
---

This month, we return all three of our wonderful Gold sponsors.  Thank you to each of these companies for being a valuable DEV Community partner and supporter.

Please take a few minutes to explore their offerings and consider them for your company or next project.


## **DigitalOcean**

[DigitalOcean](https://do.co/devto) is a much-loved cloud computing platform. I'm always impressed by how well-built _and well-documented_ the DigitalOcean core products are. It's easier said than done, and they've been able to stay ahead of the curve.

DigitalOcean has been our longest-running supporter to date, and we're extremely thankful for their consistent support.  Their commitment to the developer ecosystem is crystal clear.

As an organization, it's awesome to see the evolution of their service and their remarkable ability to stay top of the game for years now.

{% organization digitalocean %}

## **GoCD**

[GoCD](https://www.gocd.org/?utm_campaign=dev_to&utm_medium=dev_homepage&utm_source=logo_link&utm_content=gocd_homepage&utm_term=) is a continuous delivery tool built by Thoughtworks, one of the most reputable software development firms we've ever dealt with.

This is a feature-rich tool with some really fabulous visualization. Definitely worth considering for your organization or project. The product is very well supported through documentation, resources, and of course, the open source community. Very much worth checking out.

They've also put together a new page which allows you to take GoCD for a [test drive](https://www.gocd.org/test-drive-gocd/).

Thoughtworks has been such an awesome supporter, thank you so much!

{% organization gocd %}

## **Triplebyte**

[Triplebyte](https://triplebyte.com/a/YU8fSn0/july-recognition) allows developers to take one quiz and immediately get into the interview process with top tech companies if you qualify. It should be a part of any developer's job search process.

I personally took the Triplebyte quiz and the questions felt like a genuine test of real world software development principles. I'm spoken for in terms of work and you may be as well, but I'd suggest giving the quiz a spin either way.

{% organization triplebyte %}

***

These organizations are helping us build the best community we can. I urge you to check out their offerings if you are in the market for their services.

Happy coding ❤️
Números negativos são verdadeiros
Tags: javascript, node, react
Published: 2019-08-02 13:37:01


![Números negativos são verdadeiros](https://thepracticaldev.s3.amazonaws.com/i/34yfmz3qnls3i5q8u2h9.jpg)

Isso é meio contra intuitivo, mas no JavaScript numeros negativos são verdadeiros.
Para que você possa ter um código mais confiável, fique sempre atento e faça as devidas conversões.

[➜ Participe da nossa lista de desenvolvedores](https://emersonbroga.com/e/participe/)
[➜ Aprenda ES6](https://amzn.to/2J4XnLg)
[➜ Veja as dicas no instagram](https://www.instagram.com/emersonbrogadev/)
[➜ Assita nosso canal no Youtube](https://www.youtube.com/c/emersonbroga/)
[➜ Curta nossa página no facebook](https://www.facebook.com/emersonbrogadev/)
[➜ Não perca as atualizações no twitter](https://www.twitter.com/emersonbrogadev/)

=)
Daily Challenge #30 - What is the price?
Tags: challenge
Published: 2019-08-02 13:34:05

---
title: Daily Challenge #30 - What is the price?
published: true
description: part of the Daily Challenge Series
series: Daily Challenge
tags: #challenge
---

Your challenge today is to find the original price of a product before sales discount.

> For example:

> Given an item at $75 sale price after applying a 25% discount, the function should return the original price of that item before applying the sale percentage, which is ($100.00) of course, rounded to two decimal places.

> DiscoverOriginalPrice(75, 25) => 100.00M where 75 is the sale price (discounted price), 25 is the sale percentage and 100 is the original price

*Note*: The return type must be of type decimal and the number must be rounded to two decimal places.

Good luck!

***
_This challenge comes from user ahamidou. Thank you to [CodeWars](https://codewars.com/), who has licensed redistribution of this challenge under the [2-Clause BSD License](https://opensource.org/licenses/BSD-2-Clause)!_

_Want to propose a challenge for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
Arbitrary large integer
Tags: javascript, tutorial
Published: 2019-08-02 13:22:21

## Problem

At one point or another, while using JS, you should have encounter the limitation of number encoding. The most infamous example is:
```js
0.1 + 0.2 === 0.3 // => false
```

Javascript encode numbers using 64bits of memory (64 binary digits). Since we want to deal with floating numbers (non-finite set), modern languages have to rely on weird maths.
I'm not going to explain it here, because I don't understand it fully myself. But you should know that storing infinite precision numbers over finite memory is not possible.

```js
Math.PI // => 3.141592653589793 "only" 16 digits long.
```

As it can lack precision for small number, it's also true for large numbers. As soon as you go higher than `Number.MAX_SAFE_INTEGER` or `2^53 - 1`, you're subject to error.

```js
Number.MAX_SAFE_INTEGER     // => 9007199254740991
Number.MAX_SAFE_INTEGER + 2 // => 9007199254740992 (1 + 2 = 2 ?)
```

It can get even worse if your integer goes beyond `Number.MAX_VALUE` or `2^1024 - 1`, because JS will treat it as `Infinity`.

```js
Number.MAX_VALUE // => 1.7976931348623157e+308
Number.MAX_VALUE * 2 // => Infinity
1.8e308 // => Infinity
```

## Solution

Recently, Javascript has a new number representation: [BigInt](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Objets_globaux/BigInt). It's now supported by [FireFox (v68), Chrome (v67) and Edge (v76)](https://caniuse.com/#feat=bigint). This allow you to write number as large as your computer memory can handle.

It's extremely easy to use, just add a `n` character in the end of your numbers.

```js
99 ** 999 // => Infinity
99n ** 999n // => 436073206168265161501341703386462012231079860756206...
```

If you can't add the `n`, like when you consume the result of a function, you can wrap it in a constructor.

```js
BigInt(getNumberViewers()) * BigInt(getAverageWatchDuration())
```

There's a few thing to remember while using BigInts.

First, BigInts are not compatible with regular numbers. So, you need to transform all operand to one or the other when doing maths.

```js
const bigInt = 99n ** 999n;
bigInt * 10 // => TypeError: Cannot mix BigInt and other types
```

Secondly, BigInts are not compatible with `Math`. Only basic maths operation are allowed.

```js
Math.max(10n, 20n) // => TypeError: Cannot convert a BigInt value to a number
10n < 20n // => true
```

Thirdly, while division are supported, they automatically round to the closest to 0 integer.

```js
19n / 10n // => 1n
-19n / 10n // => -1n
```

Finally, you'll have to consider that BigInt are a bit more ressource consuming than native numbers. So you should be using them only when manipulating ever growing numbers, like timestamps, users actions ...

---

I hope you enjoy this little article. Look for more articles from me on the right panel and consider following me on [Github](https://github.com/GMartigny) or [Twitter](https://twitter.com/GMartigny).

Until next time, peace ✌️
Dev Tool Startup Founders, Share you Accelerator Story!
Tags: discuss
Published: 2019-08-02 12:49:03

---
title: Dev Tool Startup Founders, Share you Accelerator Story!
published: true
description: TLDR - Currently in Techstars, interested in your accelerator experience.
cover_image: https://thepracticaldev.s3.amazonaws.com/i/b267dkxh4iorzebgd3c4.png
tags: discuss 
---

I'm currently going through Techstars with my startup [TakeShape](https://www.takeshape.io). Have you built a dev tool company? Gone through an accelerator? Done both at the same time!? I'd love to get your advice and hear your story!
Radix DLT - Betanet Emulator Live - Start Building Now!
Tags: blockchain, beta, java, javascript
Published: 2019-08-02 12:35:04

---
title:Radix DLT - Betanet Emulator Live - Start Building Now!
published: true
description: 
tags: #blockchain #beta #java #javascript
---

Radix started as a project to not only be [highly scalable](http://radixdltltd.acemlna.com/lt.php?notrack=1&s=bd0f02a69a63dec8514bf73a241c890d&i=52A2514A0A1579) but to also make it easy for any developer to build decentralized applications with.

Staying true to this cause, we are releasing a series of developer tools starting with the single node emulator today; so you can start building now before the public betanet goes live.  

The single-node emulator behaves like a fully functioning betanet, but on your local machine.

With it you will be able to:

-Create token types

-Mint tokens for token types, subject to permissions

-Burn tokens for token types, subject to permissions

-Transfer tokens for token types, subject to ownership

-Transfer encrypted and unencrypted messages

In addition, there is the ability in the betanet-emulator package to request XRD tokens from a "faucet" to facilitate experiments with the native token.

Follow this quick start guide to install it on your local machine:- https://docs.radixdlt.com/kb/develop/betanet-emulator

Then, use your choice of client library to start building your use-case:

-[Java Client Library](http://radixdltltd.acemlna.com/lt.php?notrack=1&s=bd0f02a69a63dec8514bf73a241c890d&i=52A2514A0A1581)

-[JavaScript Client Library](http://radixdltltd.acemlna.com/lt.php?notrack=1&s=bd0f02a69a63dec8514bf73a241c890d&i=52A2514A0A1582)

And, you can use this latest [Android wallet](http://radixdltltd.acemlna.com/lt.php?notrack=1&s=bd0f02a69a63dec8514bf73a241c890d&i=52A2514A0A1583) release to connect and interact with the betanet emulator.

If you have feedback/questions about the emulator, post them on our  [Node Runners Forum](http://radixdltltd.acemlna.com/lt.php?notrack=1&s=bd0f02a69a63dec8514bf73a241c890d&i=52A2514A0A1584) where one of the team members will help you. If you have library-specific questions, please post them in the [Technical Forum](http://radixdltltd.acemlna.com/lt.php?notrack=1&s=bd0f02a69a63dec8514bf73a241c890d&i=52A2514A0A1585).

Lastly, join the conversation with our community on [Telegram](http://radixdltltd.acemlna.com/lt.php?notrack=1&s=bd0f02a69a63dec8514bf73a241c890d&i=52A2514A0A1586) and tell us what you are building!
Importance of web designing for small businesses
Tags: webdev, webdesigncompany, webdesigntrichy, websitedesign
Published: 2019-08-02 12:20:54

Some small businesses might think website not important for small businesses. It's true 10 year's before but now our way of attitude totally changed. We use search engines not only for big brand's it's also important for local searches. Now a day's search engines determine where we need to go not a physical banner. That's why we suggest all small businesses to get their online presence. 

<b>Why website needed for small businesses?</b>
As a <a href=https://lastcyber.com/web-design-company-india/>web design company in Trichy, India</a>we found plenty fo the reason's that shows the importance of a website for small businesses.

Connect locally: When someone searching (ex, cake shop near me), the search engine's produce list of the result's based on GPS location. This is an important reason to get your online presence now, not later.

Integrate socially: Make your social media page work for you, integrate all social media pages with your website and connect together socially.

A brief profile: Customer never know who you are and what you doing, in this situation a website helps you a lot, you can express everything through your website.

Show your award's and certification's: Customer's only expected good quality service or product's, show some certification's to customer let them understand how trusted you are. Don't make them convince make them understand.

<b>Difficulty's in finding a web design company</b>
In <a href=https://lastcyber.com/web-design-company-india/>lastcyber web design company Trichy, India</a> there are plenty of people told finding a good and affordable web design company is really hard for small business owner's. we suggest a few things identify a good web design company

1. Find footer details
2. Find recognization's and certification's
3. Find pricing details
4. Find review's

I hope this is enough to find a good web design company.
weekend links for august 3rd
Published: 2019-08-02 12:04:47

---
title: weekend links for august 3rd
published: true
description: 
tags: 
---

https://github.com/abagames/folmura - This is beautiful...

https://github.com/TurtleP/LovePotion - Switch homebrew is a thing? Who knew. I am not smart enough to actually do it. I am glad that someone else is.

https://norvig.com/lispy.html - That is an old link really but it is still cool. Make a lisp interpreter in Python.

https://thomasgervraud.com/best-2d-game-engine/ - A list of 2d game engines. Some I knew some I did not. Cool stuff.

js13k is coming up!!!! Click now to read up on it: https://js13kgames.com/

https://www.vice.com/en_us/article/d3naek/how-to-make-a-phone-farm - MMMMMMMM mmmm. Good stuff.

https://aws.amazon.com/blogs/startups/competition-forever-change-blockchain/ - Win 100k doing something related to math that is way over my head...

https://uglygerry.com/ - An ugly font.
What are you doing this weekend to take your mind off work?
Tags: watercooler
Published: 2019-08-02 11:58:29

---
title: What are you doing this weekend to take your mind off work?
published: true
tags: watercooler
---

I don't know about anyone, but this week has been a looooong week for me...
I'm going to see Hobbs and Shaw at the cinemas this weekend! Can't wait!
Hardware Requirements (Minimum and Recommended)
Tags: tutorial, beginners
Published: 2019-08-02 11:34:09

**Hardware Requirements (Minimum and Recommended)**

Now back in the days, speed was not a competition or a requirement, it was the world of automation and amazement but today its all about speed. Everyone desires for a fastest computer in the world, and well there are some misconceptions, i think, that have led to all sort of midwife tales of the hardware world of the personal computer and laptops.

**Speed Crap Junk, you really need not to believe.**



1. You Need to Defragment Your Drive Frequently

Sorry, but windows/macs/linux operating systems have far updated the old eras, so this thing is automatically managed by the operating system, so we really cant speed up the computer using this.

2. More RAM means a faster PC

Sorry again, more rams means that you could run more programs at the same time, not making the computer faster, so skip that out. 

3. Registry Cleaners can improve performance

The last thing i want to do is mess up my registry, so forget about that too.

4. I should upgrade by CPU to a faster GHz speed

Sorry wrong again, its the architecture in the CPU that defines speed and nowadays most of the applications required are more single processor friendly than multi. 


**Things, In my experience that make your computer faster**



1. Replace Mechanical HDD with a SSD

Ask Why, because the Operating system reads and writes on the harddrive, and at the speed with which it reads and writes the file to give you all the screen matters.

2. Tweak the OS

Yes, we will configure some tweaking, that will unlock the potential of operating system, so keep your fingers crossed


**Minimum Hardware (Anything above that is all good to go)**



*   Core2Duo or Corei3 Processor (Any Gen)
*   4GB RAM Minimum
*   128 GB Solid State Hard Drive

**_Notes for Solid State Hard Drives_**

You can buy them used, as they have no mechanical part in it, which makes them more resilient to use than the sensitive normal hard drives which if drop event 3ft from air are dead.

**Recommended (More than that, Overkill, Bottleneck, Whateva you wanna say)**



*   Core i5 (Any Gen)
*   16GB RAM
*   512 GB Solid State Hard Drive

For any questions and queries, or you would like to share your Hardware Specs, please use the comments sections.

[Next: Preparing USB for Windows](https://dev.to/th3n00bc0d3r/preparing-usb-for-windows-2p3)

[Noob Index](https://dev.to/th3n00bc0d3r/noob-guides-index-4mne)
Day 10: Algorithms
Tags: books
Published: 2019-08-02 11:28:28

I got an interview tomorrow, so I started brushing up my algorithms knowledge.

I have never had a pleasant experience learning algorithms because most resources are filled with jargon and very less real-world applications.

Thankfully, I found a book that makes learning popular algorithms fun. Here it is:

https://www.manning.com/books/grokking-algorithms

That's most of today's update. Check out the book if you struggle with algorithms, like me.
How to deal with hosting that pushed you to upgrade
Tags: webhosting
Published: 2019-08-03 05:52:33

---
title: How to deal with hosting that pushed you to upgrade
published: true
tags: Web Hosting,web hosting
canonical_url: https://kevinhq.com/how-to-deal-with-hosting-that-pushed-you-to-upgrade/
---

Recently I often read people say their hosting pushed them to upgrade to a higher plan. The reason is a common one. They say the hosted site has exceeded the limit. Therefore, they pushed the site owner to upgrade. Yet, most of them said they are not sure if their site’s traffic grows to that… [Continue reading »How to deal with hosting that pushed you to upgrade](https://kevinhq.com/how-to-deal-with-hosting-that-pushed-you-to-upgrade/) ![](http://feeds.feedburner.com/~r/kevinhq/~4/9hHeJuV9ex8)
Ways to make money as a developer
Tags: career, money, developer, programming
Published: 2019-08-02 10:48:43

---
title: Ways to make money as a developer
published: true
description: How to make money as a developer
tags: career, money, developer, programming
canonical_url: https://www.florin-pop.com/blog/2019/08/ways-to-make-money-as-a-developer/
cover_image: https://www.florin-pop.com/static/fcf2c5795da6df415c0fec124a3b699d/ff993/ways-to-make-money-as-a-developer.png
---

**Update**: I wrote an eBook on *Ten++ Ways to Make Money as a Developer*. [You can get it now by clicking here](https://gum.co/SkkZt).

Below you can find a list of ways you can make money as a developer. I've wrote these items a while back and I thought that people might find it valuable so I decided to share it with you. :smile:


- The most common is to have **a job** at a company or work as a **freelancer** for multiple clients
- Create and sell **digital products** (plugins, components (in React, Angular, Vue, Bootstrap, etc), themes, etc)
- build a SAAS (Software as a Service)
- create **web**, **mobile** and/or **desktop** apps where you can have **ads** or **in-app purchases**
- Create a **blog** and monetize it via: 
  - ads (Google Adsense, carbonads, etc) 
  - sponsorships 
  - become an affiliate and promote other people’s products
  - promote your own products
  - get paid to write articles for publications
- write and sell **ebooks** and/or physical **books***
- create a **YouTube channel** (on topics like: tutorials, developer lifestyle, tips & tricks, news in the field, etc) and monetize it via: 
  - YouTube ads
  - sponsorships
  - affiliate marketing
  - promote your own products
- create online **courses** and/or online **programs**
- live stream (on Twitch, YouTube, etc) and monetize it via:
  - donations
  - monthly subscriptions
- create a **podcast**
  - sponsorship
  - promote your own products
- work on Open Source projects and get **donations** and **sponsorships**
- create a **Patreon** page where people can support you
- create a **job board** and get paid by companies to connect them with **developers**, **designers**, etc...
- sell **swag**
- sell a **newsletter**
- have 1-on-1 **coaching** sessions
- create a **trading bot**
- participate in paid coding challenges
- participate in bug bounty programs

Feel free to suggest anything else that should be added to the list! :smiley:

Stay connected - subscribe to my emailing list by clicking [here](http://eepurl.com/c28cHT)
Why so serious? Collection of remarkable tweets #3
Tags: fun, twitter
Published: 2019-08-02 10:41:50

Take a pause. Put work aside for a minute and look how much fun is on Twitter. Many knowledgable people share tons of great tips there. But today, I gathered tweets containing entertaining and sometimes even very realistic content.

They come from different areas: [`#development`](https://dev.to/t/development), [`#design`](https://dev.to/t/design), [`#UI`](https://dev.to/t/ui)/[`#UX`](https://dev.to/t/ux), [`#philosophy`](https://dev.to/t/philosophy), office and ordinary [`#life`](https://dev.to/t/life). Sorted in random order without any preference and split across four posts.

I hope my selection will make your Friday even more joyful!

{% twitter 1046948267865473024 %}
{% twitter 760848423268519936 %}
{% twitter 1086674433773895680 %}
{% twitter 795109544221257729 %}
{% twitter 826551935822077952 %}
{% twitter 1124353367348662272 %}
{% twitter 1147817115241463808 %}
{% twitter 1055736396902793216 %}
<center>👆 _(click the tweet to see all images)_ 👆</center>
{% twitter 1139569345502142464 %}
{% twitter 1086199589223444480 %}

This is the third post of the "not so serious" series:

- [Why so serious? #1](https://dev.to/rmnvsl/why-so-serious-1-276j)
- [Why so serious? Collection of remarkable tweets #2](https://dev.to/rmnvsl/why-so-serious-collection-of-remarkable-tweets-2-10hj)
- Why so serious? Collection of remarkable tweets #3 👈
- [Why so serious? Collection of remarkable tweets #4](https://dev.to/rmnvsl/why-so-serious-collection-of-remarkable-tweets-4-28g0)

See you next Friday. If you want, put your favorite tweets in the comments section. 🎉
Overengineering hackaton is now live!
Tags: discuss, watercooler
Published: 2019-08-02 08:23:53

Looking to set your inner demons free and finally lay down that multidimensional project architecture you've seen in your dreams? r/ProgrammerHumor is hosting a hackaton with nothing but "overengineering" as a topic!

A great chance to have some fun and get a piece of that 500$ Digital Ocean credits. 
All the relevant info can be found [here](https://www.programmerhumor.org/Hackathon) or in this [subreddit post](https://www.reddit.com/r/ProgrammerHumor/comments/ckhow3/the_very_first_programmerhumor_hackathon_is_now/).

You can step in as a group of up to 4 people too. So, if you are looking for a team, a good place to find your DEV partner is in this post's comment section.