teleren/devto huggingface dataset:
[solved]"'yield' expression implicitly results any *** return-type annotation(TS7057)" of sagas call method
Published: 2021-06-29 17:09:41

Please use 
import AxiosResponse from axios
and assign it to your call function assignment. It is expecting the type of the response at runtime. Either we can use the AxiosResponse or create a type based on your response from the API. We should not use any.
Eg: 
import AxiosResponse from 'axios'

function* fetchTodoSaga() {
  try {
    const response:AxiosResponse = yield call(getTodos);
    yield put(
      fetchTodoSuccess({
        todos: response.data,
      })
    );
  } catch (e) {
    yield put(
      fetchTodoFailure({
        error: e.message,
      })
    );
  }
}
Flutter vs ReactNative, which and why?
Tags: help, flutter, reactnative
Published: 2021-06-29 17:06:10

Greetings!
I hope you all still having a good day in this hot summer xd

**What I'm trying to achieve in the short term?**
An app that help customers contacts us and viewing their tickets.

**What I'm looking for in the long term?**
Something that integrates well with the tools we already use e.g 
Firebase.

**Why considering Flutter?**
Flutter seems a decent choice since you can use Android/iOS-like components and the  out-of-the-box support for firebase.

**Why considering ReactNative?**
We have used a similar tools before like VueJS. Also *The syntax looks easier to me :D* 

I would like to know your opinions and recommendations, Thank you!
Markopolo.ai launching announcement 🥂
Published: 2021-06-29 17:04:38

Hey Everyone,
We launched our product in product hunt. 

https://www.producthunt.com/posts/markopolo-ai

Would really appreciate your feedback on it. Here (https://youtu.be/O_-L0JMQ-fU) is a complete demonstration on how you can use our website to generate AI recommended campaigns, tailor-made Creatives and Copies, and much more to put your Marketing on Autopilot! ✈️
For further queries, feel free to message 
us at Markopolo.ai or email us at sales@markopolo.ai
How to disable Resilience4J?
Published: 2021-06-29 17:03:44

During some tests, we found some errors related to our implementation of the Circuit Breaker with Resilience4J. So we wanted to disable it and continue our tests.

> But we never found a property in the Resilience4J documentation which allow it!

Maybe we missed something, so do you know if there is a property to do it?

---

# Alternate solution

But when we red the documentation, we saw some properties which can help to reduce the Circuit Breaker activation.

```yaml
      failureRateThreshold: 100
      minimumNumberOfCalls: 100
      slidingWindowSize: 100
      waitDurationInOpenState: 1
```

- **failureRateThreshold** : The minimum rate of failures to activate the Circuit Breaker
- **minimumNumberOfCalls** : The minimum number of calls before starting calculating the rate
- **slidingWindowSize** : The number of last calls used to calculate the failure rate
- **waitDurationInOpenState** : In milliseconds, the duration of the Circuit Breaker activation

By taking a high number of calls and a high rate, the Circuit Breaker will less be activated. And with a small duration of the Circuit Breaker, normally any transactions should be stopped.

> Be careful, this solution is just to reduce the activation of the Circuit Breaker, it won't disable it. So if you have a huge number of transactions per second, may be it won't be enough.
> 
> Also, I never tested to have a high number for **slidingWindowSize**, so maybe it can have an impact on your transaction duration. The value 100 is the default value and it can be enough in a lot of cases.

--- 

# Links
- Resilience4J documentation : https://resilience4j.readme.io/docs/circuitbreaker

---

I hope it will help you!
Keep Notes Clone
Tags: javascript, react, node
Published: 2021-06-29 17:03:39

Hello everyone. Actually this post is not to tell anything to you, but more for some suggestions and ideas. I am trying to make Keep Clone Web App, with my own api. But there's one thing I am stuck on, and that is search functionality. I want this functionality at api level and not on client side for obvious reasons. Can anyone help me out? I know this is not a perfect place to ask questions but I also wanted to share this with you.

Here's the link to the hosted app. 

https://keep-clone-api.herokuapp.com/

It uses MongoDB linked to my own account. Up untill now there's no user authentication, but I am planning on doing this later once basic functionality is completed. 

And if you need github repo of the same, please ask me. I will share that as well. Any suggestions are welcome, but main topic is that how can I implement search feature on api side. 
Thank you.
How to create Beautiful ❤️ Dynamic Login Screen
Tags: beginners, showdev, css, php
Published: 2021-06-29 17:01:28

What I learnt in making login screen of Habit-O-Circle. 

Below are some dynamically created login screens. 
Everytime you try to login or refresh page:-
(1)Background picture is changed . There are more than 1000+ pics to come randomly and not a single picture is stored in the app. 

(2) Doodles are changed dynamically and adjust itself according to screen size.

(3) Login div is glassmorphic.

(4) Responsive Topography in login div.

(5) Exact center alignment of login div: H & V

None of the pictures are stored by app.

Let's see some login screen shots:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/teutvhxxefe8c4dpnuvo.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s2r8ap38la6h2hhb2wg7.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/o011wmkseph2lh093kf4.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/95wmwhhiy63tg1hob0xv.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ptiq8ew89n1sak0t62e5.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u7wvj5nlj0owx4u1foe2.jpg)

##How I achieved this:

(1)Background picture is changed : 
Answer: look at my post 
{%link https://dev.to/manishfoodtechs/wow-the-lorem-ipsum-for-photos-lorem-picsum-4dbj %}


(2) Doodles are changed dynamically and adjust itself according to screen size.

Answer: Created an array of Doodles url. Then, randomly selected one from array.

(3) Login div is glassmorphic.
Answer:
https://glassmorphism.com/

(4) Responsive Topography in login div.
Answer:
{%link https://dev.to/manishfoodtechs/introducing-xtra-power-css-device-size-no-more-a-challenge-1cp1 %}

(5) Exact center alignment of login div: H & V
Answer
https://www.w3schools.com/css/css_align.asp

You can find all codes mentioned in link below.
I am not a professional programmer. I just do all this in my free time. In case you are good in UI , please contact me.

{%link https://dev.to/manishfoodtechs/presenting-habit-o-circle-app-coded-by-code-generator-that-was-coded-by-me-20fo %}
Now Available to download on Google Play 
Tags: logistics, realtime, remotework, app
Published: 2021-06-29 16:54:59

Now Available to download on Google Play AeonLabs app for remote management of stock materials and products

https://play.google.com/store/apps/details?id=aeonlabs.cloud.barcodescanner

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/apvde6wqr4emofensfoq.png)
How to Learn Linux: An Easy Guide
Tags: linux, beginners
Published: 2021-06-29 16:50:04

Learning a new skill always begins with a simple "how to" guide. The same holds true for learning Linux.

If you're interested in Linux, a complete and open source operating system, you've likely encountered some "how to" guides. But learning Linux is more than just following instructions—it's about understanding why you do what you do, and not just what to do.

As a beginner, knowing how to get started with Linux can be tricky. You may find yourself overwhelmed by the sheer number of resources out there. How do you choose? What's going to work for you and your unique set of skills?

![linux on the desktop](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xw9rtl6k70yoid13szfl.png)

## First Things First

Of course, the first step is to get Linux on a computer. For new users, it's not that hard—Linux is now available on everything from Chromebooks to Raspberry Pis. 

If you want to install Linux yourself, there are many [distributions](https://distrowatch.com/) to choice from. Some examples for beginners are shown [here](https://bsdnerds.org/best-linux-for-beginner/). 

Most of these Linux distribution provide the same software and differ mainly in system details and package management. You can run your favorite web browser and programs on any of them, but the time you may lose and how much manual config you need to do depends per distro.

![linux meme](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vrz0zmifqm535dtjld9i.jpeg)

Once you've installed a Linux environment, it's a good idea to learn the command line. There are hundreds of commands, it's a good time investment to [practice the command line](https://www.practicelinux.com/)

## Who is Linux for?

It is not for everyone. But if you're a programmer who wants to learn more about how the operating system works, it could be a great way to advance your career.

Besides developers, sysadmins must know Linux. Linux is the most widely used server operating in the world. You can easily spin up a Linux VPS for as little as 5 bucks a month.

These days Linux comes with tons of apps and many apps that used to run on the desktop now run on the web. Apps like office, accounting and others. 

It's easier to switch to Linux than it was 15 years ago, but if it's for you depends on what you want to do with your computer. 

Personally I use all operating systems including Apple OS X, Windows, Linux and others. Reason being it depends on what the client wants (I'm a freelancer). Chances are you need to use Linux for your client in the future.

Almost all of your favorite programming languages can be used in Linux, so it's a great platform for web programming as well as embedded programming. 

Linux uses another desktop system (X/Wayland), but you can create cross-platform apps with Linux as well using something like [PyQt](https://pythonpyqt.com/).
Pi Hackathon with a total prize value of 100k $+100k Pi
Tags: pihackathon, pinetwork, pisdk
Published: 2021-06-29 16:42:29

"Pi" is basically three Layers of 

Layer 0 - A private blockchain with windows, viewable through Explorer.  

Layer 1 - The Pi contains the Pi servers, the Application platform, and the payment processor.

Layer 2 - Applications include Pi wallet and other Pi Utilities.  We need to stop thinking of Pi like other cryptocurrencies because it is a completely different kind of entity. 
 PI HACKATHON CONTEST
 Today June 28 is Pi2 Day.  PCT has made a lot of important announcements in the Pi app.  And one of them is the opportunity to hide extremely attractive prizes for the teams participating in the software creation contest for the Pi Network ecosystem - Pi Hackathon.  
🏆 Total prize up to 100k $ + 100k Pi.  There will be 2 groups of Pi app awarded, group 1 is about Pi Network ecosystem, group 2 is about Pi Network economy.
  In each group, there is a specific prize structure as follows:

1 first prize = 20k $ + 20k Pi 1 

second prize = 15k $ + 15k Pi 🥉 1 

third prize = 10k $ + 10k Pi 5 

honors = each  prize 1000$ + 1000 Pi So there will be 50k $ and 50k Pi will be given to each group of Pi app.  The software will connect directly to the Pi Testnest Blockchain via the Pi JavaScript SDK protocol (https://developers.minepi.com/).  A community of more than 20 million active members spanning more than 200 countries is also waiting.  A strong Pi Hackathon team will need to include the following positions: Programmer, Sales Manager, Media and Marketing, Design, Graphic.  Other important roles with special skills.  
Pi Hackathon details and roadmap: https://pinetwork-official.medium.com/pi-hackathon-agenda-6d0d43d82c2c #buildpi2gether #pinetwork Regards,
How to quit your office job and find a remote-first software engineering role that suits you
Tags: remote, engineering
Published: 2021-06-29 16:42:02

Everyone keeps talking about software engineers quitting their jobs to work remotely ([a16z](https://a16z.com/2020/05/01/covid-and-the-great-rehiring/), [Homebrew](https://hunterwalk.medium.com/the-great-talent-reshuffling-of-2021-has-begun-d587c019ed89), [Axios](https://www.axios.com/post-pandemic-job-turnover-04cdedcb-ddd6-4b20-b936-70b1cc2595aa.html), [Bloomberg](https://www.bloomberg.com/news/articles/2021-06-01/return-to-office-employees-are-quitting-instead-of-giving-up-work-from-home?sref=1TG0fQXK), [people on Twitter](https://twitter.com/chris_herd/status/1399824008095440897)). Less discussed is the work that goes into choosing a new company and role - it's a little more complex than ""quit in-person company, join the first remote-first company that offers me a job"".

We're open sourcing the decision matrix that we use at [Commit](www.commit.dev). This guide will help you identify what specifically matters most to you (base salary, an open source culture, never having to manage or mentor more junior employees, getting to learn about data engineering, or maybe all of the above!), how much all of your identified attributes matter relative to each other, and how to score the companies and roles you're considering against them.

Career transitions are a rare opportunity to optimize your life around what's uniquely important to you. It's freeing, but it's also stressful - we hope this guide eases some of that stress.

Make a copy of this doc (File > Make a Copy) and get to work figuring your life out!

https://docs.google.com/spreadsheets/d/1xUndXJGS296bXLWbegNZUmzcbGnuVwbNGkQSf8lKv3s/edit#gid=635502141

If you have any suggestions or questions about this template, email me at sarah.marion@commit.dev.
Indicadores para mercado financeiro - VWAP
Published: 2021-06-29 16:41:47

#Fundamentação teórica
A VWAP é uma média móvel ajustada pelo volume, ou seja o peso de cada preço corresponde ao volume de ações negociadas no período, dando mais importância ao período em que se tenha mais negociações. [1]

{% katex %} 
VWAP = \frac{\sum_{i=0}^n P(i) * V(i)}{\sum_{i=0}^n V(i)}
{% endkatex %} 

#Metodologia
É possível configurar o período que será utilizado para o calculo da VWAP, a cor, a espessura e o estilo da linha.
A linha é desenhada desde a o começo da série disponível apenas uma vez para economizar recursos computacionais, a atualização do indicador pelos dados novos recebidos é feita sem alterar os dados já calculados.

#Referências
[1] Média móvel ajustada pelo volume (MMVOL). In: LEMOS, Flávio. Análise Técnica dos Mercados Financeiros: Um Guia Completo e Definitivo dos Mercados de Negociação de Ativos. São Paulo - SP: Saraiva, 2016. cap. 8.2.5, p. 185-186.

[MQL market](https://www.mql5.com/pt/market/product/52170)

[MQL Codebase](https://www.mql5.com/pt/code/30136)
Elasticsearch Engineer vacancy at Reed.co.uk (Holborn, Central London)
Published: 2021-06-29 16:34:08

## About The Opportunity
We are looking for an experienced Elasticsearch Developer to join our team to help us solve our relevancy issues. Currently we are trying to tune our search algorithm to show more relevant jobs to jobseekers.  As I’m sure you’ll have experienced before, similar sounding jobs aren’t necessarily what you’re looking for. 


## Skill & Qualifications
- Strong elasticsearch and relevancy tuning experience
- Great design and problem solving skills, with demonstrable experience in building simple implementations to complex problems
- Continuous Integration (CI)
- Unit Testing (TDD etc)
- Follows clean code principles and best practices eg SOLID

## How To Apply

https://careers.reedglobal.com/jobs/senior-software-development-engineer-433872/

## About Us
Reed.co.uk is the UK’s leading careers marketplace, connecting people to a world of career opportunities online…

Read more [here](https://careers.reed.com/reed-co-uk/)

### What we can offer you

- Dynamic Working, including core hours and location flexibility.  After “work-from-home if you can” government guidelines change, we will be going into the office 2 days a week 
- Half a day personal development time each week
- Developer culture: brown bag sessions and hackathons
- Discount scheme including gyms and popular retailers 
- 25 days annual leave plus bank holidays
- Flexible holiday scheme and moving home leave
- Financial benefits including pension and health cash plan subscription 
- Enhanced family leave policies
- Insurance benefits including life assurance
- Regular hack days with rewards for prize winners 
“Love Mondays” events 
- Range of wellbeing and mental health support avenues
- Newly refurbished office in an amazing location, with countless bars, restaurants and theatres right on the doorstep

_Please feel free to leave questions in the comments section._
ALT Tag zu WordPress Gravatar Bilder hinzufügen
Tags: wordpress, code, functionsphp
Published: 2021-06-30 14:06:21

---
title: ALT Tag zu WordPress Gravatar Bilder hinzufügen
published: true
date: 2021-06-29 16:01:26 UTC
tags: WordPress,code,functionsphp
canonical_url: https://bloggerpilot.com/gravatar-alt-tag/
---

![Gravatar ALT Tag hinzufügen](https://bloggerpilot.com/wp-content/uploads/2021/06/gravatar-alt-tag.png)

Onpage SEO Tools wie SEMrush, Website Auditor oder Morningscore bemängeln...

Der [ALT-Tag](https://bloggerpilot.com/gravatar-alt-tag/) ist eines der weniger bekannten Attribute von WordPress. Standardmäßig verwendet WordPress ein öffentliches Gravatar-Bild für dein Kommentarprofil. Während Gravatar gut funktioniert, möchtest du vielleicht dein eigenes Bild verwenden. Das kannst du tun, indem du den ALT-Tag hinzufügst, damit WordPress stattdessen ein eigenes Bild verwendet.
What the heck does an Architect do?
Tags: help
Published: 2021-06-29 15:56:43

It's something I am curious to know about because I think I already do this job.

Edit: I'm not alone 500+ wanted to know too! So the TLDR is Architect means different things to different people, they make decisions and know everything about the stack from lots of viewpoints, a-lot like the Architect in the matrix designed the simulation. You probably do a lot of this work already and you get paid way less.
Rustで自作OS 1日目
Tags: rust
Published: 2021-06-29 15:40:12

最近コード書いてなかったので、Rustの勉強を兼ねて自作OS本をやってみる。
https://www.amazon.co.jp/dp/B08Z3MNR9J

環境はIntel macとIntelliJ。
適当にリポジトリを作ってRustのHello Worldが動くように設定を終わらせる。
https://github.com/ytannai/kabos

自作OS本はUEFIアプリをCで書くサンプルから始まるんだけど、Rustで書き直すところで止まった。

ちなみにCargo.tomlでeditionという、バージョン的なものを指定できるらしい。

普通に`rustup init`したら2018だったので、試しに2021をしてみたらnaightlyにする必要があるようなので、`rustup toolchain install nightly`でrelease channelを変えてみる。
インストールしたら`rustup default nightly`で適用する。*envの機能を公式でサポートしてるのが良い。

この時点でCargo.tomlは以下のようになっている。これでHello Worldを再実行できた。
```rust
cargo-features = ["edition2021"]

[package]
name = "kabos"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]

[[bin]]
name = "kabos"
path = "main.rs"
```

IntelliJがよく統合されていて、今のところ快適。

で、UEFIに戻る。ライブラリが見つかった。
https://github.com/rust-osdev/uefi-rs
このREADMEにあるブログを参考に、Cargo.tomlのdependenciesセクションへ依存関係を追加する。あと、unstable featureを使う設定もする。
```toml
[dependencies]
uefi = "0.11.0"
uefi-services = "0.8.0"

[unstable]
build-std = ["core", "compiler_builtins", "alloc"]
```

この時点でもう一度Hello Worldを実行してみる。実行はできるが、依存が増えたからかコンパイルに少し時間がかかるようになった。
キャッシュされるのか、初回だけのようだ。

依存にrlibcも追加すると、いよいよベアメタル感が出てくる。

もう眠いので今日はここまで。次回はUEFIアプリの実装。
https://gil0mendes.io/blog/an-efi-app-a-bit-rusty/#the-app-itself
Learning JavaScript
Tags: devjournal, beginners, javascript
Published: 2021-06-29 15:38:03

Since I finished a bootcamp almost two months ago, a lot has happened. I feel that I have learned a lot since then but I still need to learn much more, much much much more.

I have tried to go through the bootcamp's course contents in order and I have realized that my JavaScript knowledge is still a bit basic. For example, the different JavaScript methods are very powerful and allow to perform routine tasks easily and efficiently but I have just recently discovered them.

That's why I have dedicated the little free time I have to review and increase what I learned. During the bootcamp I had to do most exercises in a hurry and I gave up on some concepts, things that I didn't understand that I had to let go because I had to move fast. Also, the learn-by-doing approach can sometimes leave important gaps uncovered. For example, I learned how to do complicated but very concrete things for a particular project, but I struggle to write code for simple things now.

With time I realize that it is better to dedicate the necessary time to each particular aspect of the language only once in order to build a solid base from which to continue growing and adding knowledge. Learning JavaScript needs time, a strategical approach and lots of patience and practice.

It's hard to find good courses to learn in an organized way. I recently discovered a platform called [Scrimba](https://scrimba.com/) that I have loved. I find this site's unique way of teaching programming very interesting and so I highly recommend it. Finally, I have started to solve the [Codewars](https://www.codewars.com/dashboard) katas. At first it is a bit daunting, but when I manage to solve the exercises alone it feels great.

I consider JavaScript to be my language for programming and it is extremely important to me that I have a good foundation to build on in the future.

The limits of practical applications that this language allows to create are hard for me to understand right now , there are so many possibilities. I feel like I want to learn a lot of different libraries to do a bunch of cool things but I guess I understood that it's still not the time. I will keep building on the basics and I'll eventually get there faster.

Photo from https://unsplash.com/@lazycreekimages