teleren/devto huggingface dataset:
The automated internet, a fun topic to think about
Tags: discuss
Published: 2019-06-24 16:44:02

---
title: The automated internet, a fun topic to think about
published: true
description: How much of the internet lives by automated code? 
tags: discuss
---

If you stop to think about how much of the internet is powered by bots, from your AI to your simple automated responses, it's fascinating to think about what goes on without a single human interaction. 

Imagine we all logged off for a day. Not a single human were to interact with the internet... and we got to see live data of everything going on, what would that look like?

I have zero stats and I'm sure I could google it, but I rather just think and imagine, what this world is like.

Bots talking to each other, both spam and useful information. Transferring data from database to database via api endpoints, forms, scan-bots and other. 

Bug's being created and fixed, all without a human interaction. Systems being infected and wiped out by viruses, while some systems fight those virus and cleanse themselves.

Instagrams, twitter, facebook and others, all still posting away as if no one left their accounts.

How much of it would stop working? How much of it would work better? :p

It's all very fascinating to me. 

Have you ever thought of it? Have cool insight to this? More ideas of what would happen?
Android’s unfair competition with iPhone
Tags: iphone, android, windowsphone, tech
Published: 2020-07-16 14:55:33

---
title: Android’s unfair competition with iPhone
published: true
date: 2019-06-24 16:35:59 UTC
tags: iphone,android,windowsphone,tech
canonical_url: 
---

![](https://cdn-images-1.medium.com/max/1024/1*uUKCX00wj6s2Z07wZ2i41Q.jpeg)

On June 24th, 2019, Bill Gates said his “greatest mistake ever” was [Microsoft losing to Android](https://www.theverge.com/2019/6/24/18715202/microsoft-bill-gates-android-biggest-mistake-interview). He is right. Not just for the company itself but in that it gave Android a monopoly as a consequence of their loss, in my opinion.

Android is now and has always been in competition with the iPhone because of Microsoft’s late but quick rise and fall in the smartphone industry. The problem is Android was designed for OEMs and they’re up against a company, Apple, who are their own OEM. Apple has had a unfair advantage over Android because of their tight integration with the software and hardware. This is why they were in the lead for so long. Compare this to Android competing against Windows Phone. OEM software competing against another OEM software. This is much more fair and gives a lot more choice consumer. It’s a win-win situation for both sides.

![](https://cdn-images-1.medium.com/max/1024/1*QrDPnXMp1iXOMpZlOKFKqg.jpeg)

And this unfair competition means, that despite Google’s monopoly with Android, they still have troubles competing with Apple. They have tried to compete with iPhone directly with the Nexus and Pixel lines but these are treated more as reference implementations then a serious competitor. Even when [Google swears it isn't](https://www.theverge.com/2017/10/4/16405184/rick-osterloh-interview-new-google-hardware-vision-htc-deal). What’s worse is that they have no competition against the iPad because of how Android for tablets lunched. This had lead to [Google pulling out of the tablet industry](https://www.thurrott.com/mobile/208852/google-gives-up-on-tablets) all together. The lunch of Android for tablet was a convoluted mess to begin with. That would require a whole separate article to go into detail.

I’m not advocating that they have a monopoly of any type but the fact they’re still having trouble despite being under this role shows how bad things are. Just because Android has competition doesn’t mean it’s a good competition.
How to Design Programs in Elm
Tags: elm
Published: 2019-06-24 16:28:38

---
title: How to Design Programs in Elm
published: true
description: 
tags: elm
---

I wish I knew. Sorry! Bye!

All kidding aside, I think I may be able to steer you in the right direction if you're willing to take the time to build a strong foundation.

After reading [The Structure and Interpretation of the Computer Science Curriculum](https://cs.brown.edu/~sk/Publications/Papers/Published/fffk-htdp-vs-sicp-journal/) and [How to Design Programs](https://htdp.org/) I came to the understanding that **we teach programming poorly by conflating domain knowledge with program design and we never explicitly show our students how to design programs**.

Ok cool, but [HTDP](https://htdp.org/) is for beginners and it uses [Racket](https://racket-lang.org/) [teaching languages](https://docs.racket-lang.org/htdp-langs/index.html). How can that help me with Elm?

That's the surprising thing. It's relevant because all the concepts it teaches is 100% transferable to any programming language but especially to Elm.

Read "[A Graphical Editor](https://htdp.org/2019-02-24/part_one.html#%28part._sec~3aedit1%29)" to see what I mean.

Or, read about [how to design a function that sorts](https://htdp.org/2019-02-24/part_two.html#%28part._sec~3asort.I%29) to see how the design recipe causes the implementation to just fall out.

In fact, read about "[Designing World Programs](https://htdp.org/2019-02-24/part_one.html#%28part._.D.K._sec~3adesign-world%29)" to see how similar it is to [Browser](https://package.elm-lang.org/packages/elm/browser/latest/).

The only thing I don't like about the book is that it's not in Elm.

But my claim is that **if you want to learn how to design programs in Elm then you should read [HTDP](https://htdp.org/)** (*until something like it that's Elm specific comes along*).

Finally, for those interested in teaching programming I leave you with "Matthias Felleisen: The First Year".

{% youtube 9REURTUJR_I %}
Slider timeline, Simple nav, Image uploader | Module Monday 44
Tags: showdev, opensource, webdev, javascript
Published: 2019-06-24 16:00:05

---
title: Slider timeline, Simple nav, Image uploader | Module Monday 44
published: true
description: Module Monday 44
tags: showdev, opensource, webdev, javascript
cover_image: https://res.cloudinary.com/component/image/upload/b_rgb:ffffff,c_lpad,h_350,w_800/v1561169392/screenshots/timeline.gif
canonical_url: https://guide.anymod.com/module-monday/44.html
---

## Everything below is open source 
It's free to use on any website, web app, or anywhere else. There are hundreds more like these built & shared by developers on [Anymod](https://anymod.com).

Click a mod to see it along with its source code.

## Timeline slider

Introduce visitors to your rich history.
<a class="btn btn-sm" href="https://anymod.com/mod/slider-timeline-barrkl?preview=true">View mod</a>
<a href="https://anymod.com/mod/slider-timeline-barrkl?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1561169392/screenshots/timeline.gif"/>
</a>

## Introspect navbar
A dark navbar based on the Introspect team by Templated.
<a class="btn btn-sm" href="https://anymod.com/mod/collapsible-nav-with-sidebar-alrrnn?preview=true">View mod</a>
<a href="https://anymod.com/mod/collapsible-nav-with-sidebar-alrrnn?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1561169391/screenshots/navbar.png"/>
</a>

## Dark card section
Responsive section with images and links.
<a class="btn btn-sm" href="https://anymod.com/mod/cards-on-dark-background-raoodk?preview=true">View mod</a>
<a href="https://anymod.com/mod/cards-on-dark-background-raoodk?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1561169391/screenshots/dark-cards.png"/>
</a>

## Image uploader
Uploads from file, URL, camera, Dropbox, Facebook, Instagram, or Google search.
<a class="btn btn-sm" href="https://anymod.com/mod/cloudinary-image-upload-widget-nkklnn?preview=true">View mod</a>
<a href="https://anymod.com/mod/cloudinary-image-upload-widget-nkklnn?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1550945879/cloudinary_eicv0f.gif"/>
</a>

## Content columns
Pre-styled, responsive columns for text and links.
<a class="btn btn-sm" href="https://anymod.com/mod/content-links-orddnk?preview=true">View mod</a>
<a href="https://anymod.com/mod/content-links-orddnk?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1561169391/screenshots/content-links.png"/>
</a>

<hr>

I post new mods from the community [here](https://dev.to/tyrw) every (Module) Monday -- I hope you find them useful!

Happy coding ✌️
How IT companies foster business relationships between Canada and Ukraine
Tags: cutis, itcompany, canada
Published: 2019-06-24 15:49:55

---
title: How IT companies foster business relationships between Canada and Ukraine
published: true
description: With a rapid expansion of ICT sector and a radical digitalization, Canadian business feels a shortage of skilled tech workers. Here’s how we can fix this issue.
tags: CUTIS, ITcompany, Canada
cover_image: https://www.mindk.com/blog/wp-content/uploads/2019/06/dan-newman-381429-unsplash-min-1920x1080.jpg
canonical_url: https://www.mindk.com/blog/canada-ukraine/
---
For the past 3 years, CUTIS project has been stimulating trade between Canada and Ukraine, fighting against poverty, and promoting equal opportunities for women in business. Now the Canadian government seeks to open up its market to Ukrainian ICT companies.

This April, CUTIS (Canada-Ukraine Trade & Investment Support) invited 12 Ukrainian IT companies to visit Canada, including MindK.

For five days we immersed ourselves in the country’s booming tech sector. After attending a number of B2B meetings, workshops, and panel discussions, we travelled deep into Canada’s industrial heartland. In Hamilton, we’ve met representatives from local authorities, research organizations, and businesses, to discuss Canada’s innovation sector.

[Continue reading...](https://www.mindk.com/blog/canada-ukraine/)
3 Things I Wish I  Knew Before Learning to Code
Tags: beginners
Published: 2019-06-24 15:47:56

Let me start by saying that prior to applying and becoming a student at Flatiron School, I had absolutely no experience with coding. All I knew was that it involved computers and making them do...things. Once I was accepted into the program and started on the pre-work, it became very clear that the tablet with an attached keyboard I had been using wouldn't cut it once classes started. Flatiron rented out a Mac to me, which was amazing and I'm super grateful for that but led me directly into the first thing I wish I knew before starting this program:

**1) How to Use a Mac**

![](https://thepracticaldev.s3.amazonaws.com/i/78l93om3zbvu47kkc0si.jpg)

My first day on campus I was handed a MacBook Air to use for the course of the program. When it came time for laptop set-up I realized how little I knew about Macs. Everything from how much pressure to apply to the touchpad to where downloaded/installed programs and applications go was not as intuitive as Apple fanatics have espoused over the years. It's been 6 weeks and I've become more comfortable with this Mac and, while I'm not convinced of its OS superiority, as long as I can get my work done I'll deal with it.

**2) How to use Pry**

![](https://thepracticaldev.s3.amazonaws.com/i/jvbex8vz7v86oa7vnvhp.png)

Pry is a magical clarity bringing Ruby gem that I now use excessively and without shame. When going through the pre-work assignments, I'd hear from online coaches to "use Pry" but I had no idea what it was or how to use it. Placing `binding.pry` allows you to run your code, pause on the line the pry was placed, and see exactly what's happening inside the code. My whole life changed when I used it successfully the first time and highly recommend using it if you're feeling unsure about what your code is doing.

**3) Imposter Syndrome is Real**

![](https://thepracticaldev.s3.amazonaws.com/i/84vp5aihsvyevig57ukk.jpg)

Everyone will tell you about Imposter Syndrome and to not let it get the best of you but, like most things in life, it's easier said than done. I've found that reminding myself that people around me are feeling the same way and flipping any negative thoughts into positive ones helps take the edge off that impending feeling of failure. One of the most common thoughts I have is "I'll never understand how to do this." and I'll (try to) reframe it as "What steps do I need to take in order to understand this? What are some resources available to me?". There are so many ways to deal with Imposter Syndrome and if you're experiencing it I highly recommend doing some research and finding something that works for you.



***I'd love to hear from anyone about any of the things I mentioned here or what you wish you knew before learning to code!***
DevOps outsourcing: everything you need to know to get started
Tags: devop, itoutsourcing
Published: 2019-06-24 15:45:35

---
title: DevOps outsourcing: everything you need to know to get started
published: true
description: If you want to decide whether DevOps outsourcing is a smart decision for you, then read on!
tags: DevOp, IToutsourcing
cover_image: https://www.mindk.com/blog/wp-content/uploads/2019/05/annie-spratt-608001-unsplash-min-1920x1080.jpg
canonical_url: https://www.mindk.com/blog/devops-outsourcing/
---
If a company needs continuous access to classy DevOps skills, it can either keep an in-house team or outsource the project to a trustworthy partner. We will explain when and why DevOps outsourcing is better and how your business can make a good thing out of it.

What do companies like WhatsApp, Slack, Github, Groove, Opera, Google, Skype have in common?

Besides the fact that all of them are successful multi-million-dollar companies, they have used IT outsourcing services from remote workers or offshore partners at some point in time (or keep relying on third-party IT providers for certain tasks).

Outsourcing, in general, and DevOps outsourcing, in particular, is a powerful approach when used correctly. This article will help you clear up:
1. Why you need DevOps.
2. DevOps outsourcing vs insourcing: differences to consider.
3. What to expect from DevOps-as-a-Service.
4. How cooperation starts.

[Continue reading...](https://www.mindk.com/blog/devops-outsourcing/)
How to Plan and Execute an App Backend?
Tags: beginners, discuss, webdev, backend
Published: 2019-06-24 15:43:04

---
title: How to Plan and Execute an App Backend?
published: true
description: 
tags: beginners, discuss, webdev, backend
---

As a former inhabitant of "tutorial hell", I've noticed that one of the areas that that particular learning style hurt me the most in was the ability to work through certain problems from scratch, notably conceptualization. Using Express/MongoDB as an example: while I'm comfortable with the basics on the framework (middleware, routing, modules, making a DB schema), I'm struggling with certain aspects of backend planning such as:

+ Should I use a relational database for this, or will a schema in Mongo/GraphQL more than take care of any relational data needs?

+ How to effectively populate a default database for app users when they need base data, for example, several arrays of character data for an RPG stat tracker.

I know I'm not the only one who's struggled with both known and unknown unknowns when working on an app backend. What are some of the backend problems you've struggled with? How and where did you find the answers to level up your skills in this area?
The 7 Most Popular DEV Posts from the Past Week
Tags: top7
Published: 2019-06-24 15:39:55

---
title: The 7 Most Popular DEV Posts from the Past Week
published: true
description: A round up of the most-read and most-loved contributions from the community this past week.
tags: icymi
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sfwcvweirpf2qka2lg2b.png
---
Every Monday we round up the previous week's top posts based on traffic, engagement, and a hint of editorial curation. The typical week starts on Monday and ends on Sunday, but don't worry, we take into account posts that are published later in the week. ❤️

#1. Why I don't use web components

Rich lays out why they're skeptical of web components in ten controversy-free points. 😉

{% link https://dev.to/richharris/why-i-don-t-use-web-components-2cia %} 

#2. Why I use Web Components - My use cases

First time writer, Preet respectfully responds to Rich's post (above) with their own take on web components and why they _do_ use them.

{% link https://dev.to/shihn/why-i-use-web-components-my-use-cases-1nip %}

#3. JavaScript 101: Arrow Functions

Kara offers a succinct, effective introduction to arrow functions in JS.

{% link https://dev.to/karaluton/javascript-101-arrow-functions-jje %}

#4. Why publishing your own npm packages can make you a better developer

Here we're focused less on _how_ to publish your own `npm` packages and more on _why_ it's a good idea and will make you a better dev.

{% link https://dev.to/thegeoffstevens/why-publishing-your-own-npm-packages-can-make-you-a-better-developer-2lc6 %}

#5. Vue's Darkest Day

Daniel provides a level-headed look at the feud within the Vue community over a recently released RFC.

{% link https://dev.to/danielelkington/vue-s-darkest-day-3fgh %}

#6. An Introduction to 3D Printing

An excellent primer on the wonders of 3D printing.

{% link https://dev.to/erikaheidi/an-introduction-to-3d-printing-ln1 %}

#7. Building Micro Frontends with React, Vue, and Single-spa

How to build a micro-frontend app consisting of a React and a Vue application.

{% link https://dev.to/dabit3/building-micro-frontends-with-react-vue-and-single-spa-52op %}

_That's it for our weekly wrap up! Keep an eye on dev.to this week for daily content and discussions...and if you miss anything, we'll be sure to recap it next Monday!_
How do you handle unproductive days at work?
Tags: productivity, motivation, discuss
Published: 2019-06-24 15:21:52

---
title: How do you handle unproductive days at work?
published: true
description: help to boost productivity and motivation
tags: productivity, motivation, discuss
---
![Unmotivated](https://thepracticaldev.s3.amazonaws.com/i/cz7xw3dlckkm50slx8si.jpg)

It's Monday, you feel unmotivated to write any single line of code, it's hard to give a good review to your teammate.

How do you handle those days when you feel like your productivity and motivation are very low?

How you boost motivation and productivity at work?
Rematch with Hooks
Tags: javascript, typescript, react, redux
Published: 2019-06-24 15:20:51


If you've been using Rematch for managing state in your application, the latest release of `react-redux` that adds support for hooks should get you really excited. 

Rematch has always tried to keep compatibility with existing `react-redux` API, and that stays true for the newly released version that supports hooks!

> In addition to having more readable and reusable code, hooks allow us to do less work when adding type safety with TypeScript.

Let's look at an example of doing things "the old way". Here's a component that stores a list of users in Redux store, and loads them when the component is mounted:

{% gist https://gist.github.com/koss-lebedev/49765ed5beed8324783748d82828b52b %}

This code looks and works fine, but there are a couple of issues that we couldn't address in pre-hook era. One of them is related to typing `connect` component. Higher order components are notoriously difficult to type properly due to the difficulty of inferring types of the properties being passed down to the component inside. To get around this problem, we have to define types for props being passed to the component separately `(type UsersProps)`, and then manually set them for the component `(FC<UsersProps>)`.

With hooks, we can replace `mapState` function with `useSelector` hook, `mapDispatch` with `useDispatch`, and we can drop our difficult-to-type `connect` HOC altogether, leaving us with concise and fully typed code:

{% gist https://gist.github.com/koss-lebedev/4323b0921cf6c297bd5e3c8e3aaa5568 %}

If  we need to work with multiple actions, we can create a custom `useRematchDispatch` hook that allows us to have the familiar syntax that we used for writing `mapDispatch` functions:

{% gist https://gist.github.com/koss-lebedev/035c5e534175d11d10618482ff78124b %}

`useRematchDispatch` hook can also come in handy if we want to refactor existing Rematch application, because it allows us to copy `mapDispatch` functions with minimum changes.

---

If you want to learn more about Rematch, check out my [free course on YouTube](https://www.youtube.com/playlist?list=PLNG2YBDrzK-w1VSeDpMxdGwkb4L6hDy8Z).
CSSWand: New Features!
Tags: react, javascript, css, opensource
Published: 2019-06-24 14:42:23

---
title: CSSWand: New Features!
published: true
description: Update to opensource project CSSWand
tags: react, javascript, css, opensource
---

New Features:
- Built-in Color Picker
- Input CSS design add
- Press Button CSS add

After the launch of the project, it's been voted #2 Product of the day on Product Hunt with over 800+ upvotes. 

Thank you to everyone for making it happen and if you still haven't checked it out I am attaching the links below. Thank you again! Stay tuned as more new features are being added weekly 😄 

check out the project here 
-https://www.csswand.dev/

Help me by starring on Github
-https://lnkd.in/ezZkFuH

Featured on Product Hunt:
https://www.producthunt.com/posts/css-wand?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-css-wand

Tech used:
React, Ant Design, Emotion, Firebase
Travis CI added draft pull requests support
Tags: travis, github, ci
Published: 2019-06-24 14:40:43

About 3 months ago I noticed that Github drafts are not triggering Travis CI builds, not even when the draft flag gets removed.

{% github https://github.com/thepracticaldev/dev.to/pull/2035#issuecomment-474725789 %}

I made a ticket about this on [the Travis forum](https://travis-ci.community/t/removing-draft-doesnt-trigger-travis/2715), the workaround suggested at the time was closing and reopening the PR.

Now today (24/06) [Travis CI added support for building draft PR's](https://changelog.travis-ci.com/draft-pull-requests-support-105121), not only when they are marked ready for review.

This should improve the quality of the PR's as testing can be done in draft PR's and marked ready for review when all tests pass.

What do you think about this update? Do you use draft PR's or rather add `[WIP]` in the PR title.
Tutorial: JAMstack Personal Blog with Headless Ghost 2.0 CMS & Gatsby
Tags: javascript, react, jamstack, gatsby
Published: 2019-06-24 14:30:03

Wanted to rebuild my personal blog with Headless Ghost CMS & Gatsby Jamstack - couldn't find any solid guides out there to get me going so figured it out and wrote this tutorial.

Hope someone finds it helpful.

Cheers.

https://josebrowne.com/tutorial-static-blog-using-headless-ghost-2-0-gatsby-netlify/
Raspberry Pi 4 Goes On Sale: “This is a comprehensive upgrade”
Tags: news, hardware, raspberrypi
Published: 2019-06-24 14:10:04

# [Raspberry Pi 4 on sale now from $35](https://www.raspberrypi.org/blog/raspberry-pi-4-on-sale-now-from-35/)

> A 1.5GHz quad-core 64-bit ARM Cortex-A72 CPU (~3× performance)
1GB, 2GB, or 4GB of LPDDR4 SDRAM
Full-throughput Gigabit Ethernet
Dual-band 802.11ac wireless networking
Bluetooth 5.0
Two USB 3.0 and two USB 2.0 ports
Dual monitor support, at resolutions up to 4K
VideoCore VI graphics, supporting OpenGL ES 3.x
4Kp60 hardware decode of HEVC video
Complete compatibility with earlier Raspberry Pi products
How to become a DevOp? 
Tags: devops, help, aws, docker
Published: 2019-06-24 14:01:29

---
title: How to become a DevOp? 
published: true
description: 
tags: devops, help, aws, docker
---
Hi guys, 
I was thinking of becoming a DevOp. 
What resources would you recommend?(courses, training, tutorials). 
Is it hard to learn, how much time did you need to learn it? 
Feel like I have a million questions, any help will be really appreciated.