teleren/devto huggingface dataset:
Top Weather APIs
Published: 2020-03-15 11:25:53

Weather APIs have come a long way. Today, Weather APIs give detailed information beyond just temperature, precipitation and humidity, but also UV index and pollution levels. Time series data lets you discover trends and patterns, and plan events based on weather conditions.

These APIs can also be a useful resource for disaster management, as some come with built-in alerting and notification mechanisms on a global scale. Here are my top [weather APIs](https://blog.api.rakuten.net/top-weather-apis/).

##The OpenWeatherMap API
The [OpenWeatherMap API](https://openweathermap.org/api) was established in 2014 by a group of engineers and experts in big data, data processing, and satellite imagery processing. The API returns current weather, historical weather data, and forecast details.

## Dark Sky API
The [Dark Sky API](https://darksky.net/dev) is a robust API that provides comprehensive weather information about any place in the world. The API returns a wide range of details, including the current weather conditions, a minute-by-minute forecast for the next hour, an hour-by-hour forecast for the next 48 hours, and a day-by-day forecast for the next week.

## The Weather API
The [Weather API](https://openweathermap.org/api) gives you access to lightning-fast data to meet all your needs for up-to-date weather information. With the API, you can get accurate historical, current, and forecast weather data about any location around the world.

## The Simple Weather API
The Simple Weather API is an easy-to-use API for getting the current weather for several locations around the world. The API has made weather information easily accessible to everyone.

## The Weather 2020 API
The [Weather2020 API](http://api.weather2020.com/) is a popular, long-range weather forecast API offering comprehensive forecasts of up to 12 weeks. It was developed by the famed meteorologist Gary Lezak. To enhance its accuracy, the API uses the powerful long range weather model technology known as the LRC.

Let me know what you think of the weather APIs in this list. Happy hacking!
Mission-Oriented White Label Crypto Exchange Development Services

Tags: whitelabelcryptoexchange, coindevelopmentcompany, cryptoexchangeplatformsoftware
Published: 2019-08-05 11:27:40

Antier Solutions is a leading blockchain development company offering highly reliable white label crypto exchange development services to foster business growth. Our cross-functional team of blockchain experts meticulously brainstorms the requirements and objectives of the clients and goes the extra mile to turn the ideas into reliable, scalable, unique, customized, and bug-free solutions.To start your crypto exchange, share your needs with Antier. 
Email us : info@antiersolutions.com Contact us : 9855078699 Visit : https://antiersolutions.com/cryptocurrency-exchange-development-company/
How to remain sane when your work system breaks down
Tags: career, productivity
Published: 2019-09-14 18:39:33

The unspeakable happened and on Friday the 13th my laptop - the only laptop I had - got bricked. As a beginner freelancer I don't have a sum of money to throw directly into another laptop so I will have to survive without it at least until next Wednesday, when I'm supposed to take it from the service - if everything goes well (pray for me). How did I make it through the first day so far?

1. Prepare your clients for a delay on their projects if needed. Things like this happen sometimes and your clients will be thankful to be warned about the delay from the beginning. 

2. Do damage control. Try to work on your projects in whatever way you can to minimize the damage - don't just wait for things to get solved. Design a future project architecture, a database, think about ways to optimize the current projects, read documentation and best practices, etc - just keep working in any way you can. If not possible...

3. Keep yourself busy. It's quite baffling for your mind to be thrown out of it's usual schedule, especially if you are an introvert who spends most of their time on their own. It's important to keep your mind and body busy and find productivity in other ways. That cleanup you postponed for the past month? Just do it. Going out with a friend that you flaked on for the past 2 months because of work? Time to call them. Desperate because you can't work and you're terribly bored? Write a dev.to blog post. Anything goes.

All in all, it's a small opportunity to (almost) disconnect from work for a while and find meaning and enjoyment in daily life.
Top Python Posts from July 29 week
Tags: python, bestofdev
Published: 2019-08-05 13:57:20

Hi! I'm Vicente, your friendly Filipino mod for the python tag. Today, is another episode of the Top Python Posts of the week!

Hope you'll follow along!

# 1.) Getting started with GraphQL in Python

Modern frameworks come and go. Some of them manage to become a new standard. With a rise of modern JavaScript libraries like React, new approaches to data fetching like GraphQL APIs are becoming more popular. While Node.js is still being the most popular technology for GraphQL based backend, there are many other options.

{% link https://dev.to/tomekponiat/getting-started-with-graphql-in-python-4mgf %}

# 2.) Dead Simple Python: Generators and Coroutines

How would you generate a Fibonacci sequence of any length? Clearly there's some data you'd need to keep track of, and it would need to be manipulated in a certain way to create the next element.

{% link https://dev.to/codemouse92/dead-simple-python-generators-and-coroutines-21ll %} 

# 3.) You Should Use Python Sets

There are a ton of data structures available in the standard Python library, most of which go underutilized. Today I'd like to focus on one type in particular you should probably be using more than you are: the set. You may be already aware of the general concept of sets in computer science2, the Python set3 is exactly that.

{% link https://dev.to/dbanty/you-should-use-python-sets-1d14 %}

# 4.) Building Command-Line Applications with Python

You can do a lot of amazing things with Python. When I started teaching myself Python last year, one of the most interesting things I discovered was how relatively easy it was to create CLI apps. Since I learn best by doing, I went ahead to create [norris-cli](https://github.com/wangonya/norris-cli) among other apps, and discovered the possibilities were endless 😄.

{% link https://dev.to/wangonya/building-command-line-applications-with-python-5l4 %}

# 5.) Setting up a Python development environment with pipenv

According to the official documentation, “Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the Python world.” “It harnesses Pipfile, pip, and virtualenv into one single command."

{% link https://dev.to/davidshare/setting-up-a-python-development-environment-with-pipenv-3lfj %}

See you again next week!
Module Monday 50 🎉 Single page app & more
Tags: showdev, webdev, javascript, githunt
Published: 2019-08-05 17:05:33

---
title: Module Monday 50 🎉 Single page app & more
published: true
description: Module Monday 50
tags: showdev, webdev, javascript, githunt
cover_image: https://res.cloudinary.com/component/image/upload/b_rgb:f6f6f6,c_pad,h_370,w_880/v1564793729/single-page_40_f5jn8o.gif
canonical_url: https://guide.anymod.com/module-monday/50.html
---

## 5 open-source website modules you can use anywhere

Everything below is open source and free to use in any project you choose. [AnyMod](https://anymod.com) lets you quickly add features to any website or web app.

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

## Single page app mod
Everything you need for a stunning single page.
<a class="btn btn-sm" href="https://anymod.com/mod/single-page-theme-dimension-kdnola?preview=true">View mod</a>
<a href="https://anymod.com/mod/single-page-theme-dimension-kdnola?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1564793729/single-page_40_f5jn8o.gif"/>
</a>

## Color sections
Add pop to your page in the blink of an eye.
<a class="btn btn-sm" href="https://anymod.com/mod/colors-sections-dkdmmd?preview=true">View mod</a>
<a href="https://anymod.com/mod/colors-sections-dkdmmd?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1564793728/colors_uprohk.gif"/>
</a>

## Professional sidenav
Scrollable navigation element with links and images.
<a class="btn btn-sm" href="https://anymod.com/mod/professional-side-nav-kdrkka?preview=true">View mod</a>
<a href="https://anymod.com/mod/professional-side-nav-kdrkka?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1564793728/sidenav_mjin2w.gif"/>
</a>

## Typify contact form
Ready-to-use form based on the Typify theme by Templated.
<a class="btn btn-sm" href="https://anymod.com/mod/contact-form-barodo?preview=true">View mod</a>
<a href="https://anymod.com/mod/contact-form-barodo?preview=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1564793727/contact-form_b02z7i.png"/>
</a>

## Scroll to top button
When you click it, it... scrolls to the top.
<a class="btn btn-sm" href="https://anymod.com/mod/scroll-to-top-button-ordbno?preview=true&lorem=true">View mod</a>
<a href="https://anymod.com/mod/scroll-to-top-button-ordbno?preview=true&lorem=true">
  <img src="https://res.cloudinary.com/component/image/upload/v1564793728/scroll-top_xrxbdl.gif"/>
</a>

<hr>

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

Happy coding ✌️
“Eradicate the issue of the Black screen with the help of Microsoft Windows 10 support”
Tags: microsoftwindows10support
Published: 2019-09-07 11:29:35

If you have not yet upgraded to the Windows 10 update, then you may see yourself affected by the black-screen bug that results from a minor security upgrade. So, to overcome this problem you need to follow some simple steps given here. First of all, hit Ctrl + Alt + Delete simultaneously on your keyboard. After that, hit the Power button in the bottom right corner then “Restart” your system. These steps will surely eradicate your issue, but if not, its time to take help from Microsoft windows 10 support team. Experts will sort out your problem and suggest the best remedy for your problem. Just dial our toll free number and get the assistance.
https://www.microsoftwindows10support.co/
Image Processing - Making Custom Filters - React.js - Part 2
Tags: imageprocessing, react, ui, frontend
Published: 2019-08-06 05:45:56

---
title: Image Processing - Making Custom Filters - React.js - Part 2
published: true
description: 
tags: #imageprocessing #react #ui #frontend
canonical_url: https://overflowjs.com/posts/Image-Processing-Making-Custom-Filters-Reactjs-Part-2.html
---
A new article is published on overflowjs.com around creating a UI for applying filters on images from scratch.

The article discusses the below points. 

1. Smoothing Filters (Some filters and algo’s for it)

2. Thresholding Filters

3. Finding contours in the image

Finally, the use of a live camera to capture some images from the webcam and applying filters


Read full article - https://overflowjs.com/posts/Image-Processing-Making-Custom-Filters-Reactjs-Part-2.html article on overflowjs.com

Here is the live app link of UI (may take time to load for the first time ) - https://peaceful-reef-69295.herokuapp.com/ 

Github code link - https://github.com/overflowjscom/image_app_image_processing_opencvviawebcam_part_2

Happy coding!
Ruby,Clojure,Go,Haskell,Rails
Tags: career, rails, ruby, clojure
Published: 2019-08-07 10:35:32

I'm working with house-hold names in London who are looking for Senior Ruby or Clojure Engineers looking to work in London. You'll be working in some of the purest codes bases in London with no legacy codes. All my clients follow strict TDD and are only after the best of the best developers. 

We are also open to Clojure, Go, Haskell and Ruby Engineers. Senior engineers are paid up to £90,000 and Architects are up to £110,000 per annum. 

For more information, please contact me on sw@5ivetech.co.uk or whatapp: 0044(0)7934878441
AutoSizer of react-virtualized doesn't give free space to its child
Tags: help, react
Published: 2019-08-07 12:58:10

Hello, guys. Can't figure out what is wrong with my code, but AutoSizer component doesn't work as intended. The children should take free space (horizontally and vertically), to make it obvious I set background to green. Read the documentation, did it exactly as it advises, can't make it work though. Would be glad if somebody points out where I did a mistake. Thanks.
Codesandbox - https://codesandbox.io/s/3y6m5
Code Codex - an algorithm bank
Tags: learning, programming, languages, todayisearched
Published: 2019-08-08 02:21:58

I was looking for a binary search algorithm in BASIC: I'm trying to solve my [RosettaCode task](http://rosettacode.org/wiki/Teacup_rim_text) in [QB64](https://www.portal.qb64.org/) and that part of my programmer brain hasn't seen much work lately.

At the end of a Google Search I came upon [Code Codex](http://www.codecodex.com/wiki/Main_Page). Unlike RosettaCode, CodeCodex 
> is a wiki for finding and improving code. Stop reinventing the wheel. Use CodeCodex to:
> -    Browse and use pre-written code.
> -    Learn new algorithms and methods for common programming tasks.
> -    Use code in your own projects and submit new code for the community.
> -    Improve performance of code in the repository and the organization of the library.

They welcome users and contributors. It's helped me!
[GameDev] Crystal Blast - The Recent Update
Tags: gamedev, unity3d, indie, startup
Published: 2019-08-07 16:37:16

---
title: [GameDev] Crystal Blast - The Recent Update
published: true
description: 
tags: gamedev, unity, indie, startup
---

Hi everyone!

Since the last time we didn't have a lot time to work but we are still working in free time in gamedev industry. Hope it would become profitable in the future :)

We finally published the game in App Store market and Google Play the recent updates.

Notes about the well known issues for us:

- Marketing is hard :) it's really impossible to promote the games without the buying ads. Huge money flow for Google and Apple to boost the games to the top of the search or trending. Tried to contact two publishers but it looks like game play of our [Crystal Blast](https://play.google.com/store/apps/details?id=com.balconygames.CrystalBlast) game is not attractive as Hyper Casual trends these days. For now we have just tried to boost specific country with low cost per install and use specific descriptions to give a try to become top#5 in google play searches. Google Play store is working good enough but it's hard to target audience by specific attributes comparing with facebook ads.
- Unity helps a lot to develop the games but cross platform doesn't mean it would be really easy to support game center, google play services, push notifications and so on.
- Google [Firebase](https://firebase.google.com/) is great, out of the box BigQuery integration on plan Pay as You Go. Easily save queries to analyze the traffic, data studio is great as well, everyone could build charts based on data source from BigQuery.
- Microsoft [appcenter.ms](appcenter.ms) is really great as well to make the distributions for testers via fastlane from the local machine. But for now it's impossible to distribute Android Bundles that's major change in Google Play since 1 August. [Azure](http://azure.microsoft.com) Application Insights is great as well but for now it's much harder to review events comparing with Firebase and DataStudio. But I am still giving chance for both platforms.
- [appcenter.ms](appcenter.ms) is missing good support for push notifications campaigns but in the same time [Firebase](https://firebase.google.com/) has predictions on churn, not churn users and it's much easy to setup notifications for target audience.
- [CloudOnce](http://jizc.github.io/CloudOnce/) is wonderful unity plugin to have support of Play Game Services and Game Center. it's easy to write own provider if you decide to use with Amazon or Chinese market.

I would appreciate for any feedback about the game.

P.S.: Looking for game art designer to join to our team ( no profit for now :) ) it's a lot of fun and possible opportunity to grow together.


Continue to collect the notes :0 

[Google Play](https://play.google.com/store/apps/details?id=com.balconygames.CrystalBlast)
[App Store](https://apps.apple.com/us/app/crystal-blast/id1451868968)
Development Environment in React Native from a beginner's perspective - your thoughts?
Tags: reactnative, javascript, discuss
Published: 2019-08-08 10:06:16

Hello everybody!

Been working with React for a long time, just starting to work with React Native. I really like that you as React developer can start writing code that compiles to native code without too much struggle.

I have found a few programs however working with React Native in a development environment. Here is my list:

- Having a Modal open as you reload the app, will cause the Modal component to get stuck requiring you to rebuild the app to see updated changes.

- VSCode intellisense not working out of the box. Working with React normally, it feels very smooth just auto importing stuff as you write the component name + you get autocomplete as you're typing function/variables names etc.

- Error codes imprecise. As syntax errors, wrong paths etc. happen, it is not always obvious what the mistake was. I don't have a concrete example right now but sometimes I just get a nonsense error message and I'm deleting code to see what caused the error.

- Missing a way of checking out the exact layout of things. Some sort of Elements view that Chrome Dev Tools provide so you can see exactly what's going on 😒 really miss that, maybe it exists and I wasn't aware?

These are the problems that I'm facing as a beginner to React Native. Anyone got similar experience?
Managing dynamic components
Tags: angular, webdev, javascript
Published: 2019-09-07 12:40:28

##Coders beware
###Here there be monsters
Last time I have posted the article about [dynamic components in Angular](https://dev.to/bergermarko/dynamic-components-right-way-2kpb). Demonstrated how to set up one. Now here these a warning. 
If you pass some kind of subject (behavior or any other) to your dynamic component and you passed it to your entry component (component you actually want to load). You will find your self in trouble. 
###What are you talking about!?
The example I have demonstrated is perfectly fine. It is clean and has no subscriptions. But when we have a subscription. We need to unsubscribe. Right!
Where do we do unsubscribing? NgOnDestroy. 
And there is a problem. 
By changing between components NgOnDestroy hook does not fire. That's because we are not destroying the entry component. We are replacing it. 
###What!!!
Now our app has gone bananas. 
Our subscription lives on and if you fire the same event for your all entry component you are in trouble. There are no error messages and the application is showing weird results.
###So what do we need to do? 
We need to destroy our entry component. 
```javascript
 componentRef: ComponentRef<any>; //declaration 
 this.componentRef.destroy();
```
This will destroy the component and fire the NgOnDestroy hook. 
Example of the code
```javascript
 loadComponent(){
    if(this.componentRef){
    /** Checkig if an old component reference exists and then we destroy it*/ 
      this.componentRef.destroy();
    }
    /** Preparing our component for creation */
    const componentFactory = this.componentFactoryResolver.resolveComponentFactory(this.components[this.inputData]);
    /** Grabbing reference of our view placeholder */
    const viewContainerRef = this.placeholder.viewContainerRef;
    /** Clearing our placeholder  */
    viewContainerRef.clear();
    /** Magic of creating a component instance  */
    this.componentRef = viewContainerRef.createComponent(componentFactory);
    /** 
     * @Input data into our instance.
     */
    (this.componentRef.instance as IComp).text = ''+this.inputData;
    /** @Output data from our instance  */
    (this.componentRef.instance as IComp).event.subscribe(
      data => this.changeEmit.emit(data)
    );
  }
```
*I have updated git repo with this code. You can find the link at the end of this article*
##Lessons learned
###Mistakes have the power to turn you into something better than you were before.
####Github Repo 
{% github https://github.com/ikonezg/angular-dynamic-example %}
It's Scraping Seasons
Tags: ruby, rails
Published: 2019-09-08 22:27:15

<h1><center>Rails + React + Redux - Pt 3</center></h1>
*********************************************************

This post is going to focus on some of the more challenging tasks I encountered while scraping data from Fandom and connecting the data appropriately into the schema established in the last post. This post will focus on defining the get_seasons method and the get_queens method will follow. The gists are heavily commented!

*********************************************************
<h1><center> Let's get started! </center></h1>
*********************************************************

*1. Def get_seasons in season.rb to scrape the list of season names from Fandom, concatenate each season name into an array of URLS for each Season's Wikipedia page, then iterate through the array to .create!() an instance of each Season.*

{% gist https://gist.github.com/JaredHarbison/c33a1326a495ed6d032fbbdc89d2063a %}

*2. Def get_queens in queen.rb to scrape the list of queens' names from Fandom, concatenate each queen's name into an array of URLs for each Queen's Fandom page, then iterate through the array to .create!() an instance of each Queen and her attributes (including associations for Quotes and Trivia.*

<center>__see the following post for the gist__</center>

*3. With Seasons and Queens instantiated, iterate through the Seasons and .create!() an appearance for each episode per Queen and her appropriate appearance attributes.*

<center>__see following posts for the gist__</center>

*********************************************************
<h1><center> That's all folks! </center></h1>
How to Configure Cross Posting?
Tags: help
Published: 2019-09-09 17:19:22


I need help figuring this out. A while ago I remember setting up this feature on Dev that allows me add the link to my originally published post. As seen in the image below.

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/kszissowyb8h8jwlzbmm.png)


Right now it doesn't seem to work even after adding my article as the Canonical URL.

Will appreciate any help or pointers with this. 🙏
Laravel Eloquent Model UUID Route Keys
Tags: laravel, php
Published: 2019-09-09 19:33:22

Without arguing the reason for the packages conception, auto-incrementing keys in URLs are often discussed as an anti-pattern, security flaw, and generally ugly (see [here](http://blogs.perl.org/users/ovid/2014/11/stop-putting-auto-increment-ids-in-urls.html), [here](https://www.clever-cloud.com/blog/engineering/2015/05/20/why-auto-increment-is-a-terrible-idea/), [here](https://news.ycombinator.com/item?id=15815327) for a few).

[Laravel UUID Models](https://github.com/ryancco/laravel-uuid-models) provides a trait that, when applied to a Laravel Eloquent Model, seamlessly handles allowing it to be routed using UUID's (rather than auto-incrementing ID's).

Additionally, there are no further code changes required for generating the [time ordered UUID](https://www.percona.com/blog/2014/12/19/store-uuid-optimized-way/), validation, type-casting, or editing any existing routes or links*. It's as simple as installing the package, placing the trait on the eloquent models you would like to use UUID route keys, and adding a migration to store the UUID field.

Any suggestions or changes are always encouraged and welcomed on the [repository](https://github.com/ryancco/laravel-uuid-models).


_\* All routes will work assuming they're generated with the `route()` helper._