teleren/devto huggingface dataset:
How to be notified when a new tag has been created on a Docker Hub repository 📧
Tags: docker, devops, security, tooling
Published: 2021-11-04 16:55:38

---
title: How to be notified when a new tag has been created on a Docker Hub repository 📧
published: true
date: 2021-10-14 23:15:00 UTC
tags: docker, devops, security, tooling
canonical_url: https://www.benjaminrancourt.ca/how-to-be-notified-when-a-new-tag-has-been-created-on-a-docker-hub-repository
cover_image: https://www.benjaminrancourt.ca/images/pexels-ray-bilcliff-1507754.jpg
---
When I started creating my private architecture on [Docker](https://www.docker.com/) for my projects, I started having a lot of container images that I have to check from time to time **to see if there was a new version**. It was okay to do that with a small number of images, but as my architecture was just growing, it started to be a bit cumbersome for one person. 🤨

So I searched on the Internet to see if anyone has found a solution to my problem and, after a while, I fall on a small service named **[docker notify](https://docker-notify.com/)**.

## What is docker-notify?

![](https://www.benjaminrancourt.ca/images/docker-notify.jpg)<figcaption>Screenshot of the "docker notify" service.</figcaption>

As the name suggests, it allows you to **subscribe to the updates of the containers** you want to follow. To use this service, simply enter your email address into the email input and click on the "_Sign up_" button. You should receive a few seconds later an email containing a link, to log in to the service without a password. 🔑

![](https://www.benjaminrancourt.ca/images/docker-notify-email-login.jpg)<figcaption>The email you will receive to log in to your account. </figcaption>

After clicking on the link, you will arrive at the interface that will allow you to **manage the containers** you are following.

![](https://www.benjaminrancourt.ca/images/docker-notify-update.jpg)<figcaption>A screenshot of the container images I am currently following.</figcaption>

On the left, you can search the name of the image you want to follow and on the right, you can see the images you are currently subscribed to. To unsubscribe from an image, simply click on its name and it will be removed. And don't forget to click on the "_Update_" button, otherwise, none of your changes will be saved! 😜

When someone releases a new version of the containers you are following, you will receive an email as below containing the recently updated containers. 😍

![](https://www.benjaminrancourt.ca/images/docker-notify-email-updated-tags.jpg)<figcaption>The latest email that I have received, with three new updates.</figcaption>

## Conclusion

Unfortunately, this service works only for Docker Hub, so you can not follow the containers published on the [GitHub Container registry](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry). I hope the maintainers of this service will support it soon but, in the meantime, we will have to follow them manually. 🤭

So, I hope this service will help keep your containers up to date! 🤗
Easy or not, time will pass either way
Tags: beginners, codenewbie, decodingcoding
Published: 2021-10-14 23:14:35

---
title: Easy or not, time will pass either way
published: true
description: A year from today, you're going to regret not starting to learn coding. Just start. Today.
tags: beginners, codenewbies, decodingcoding
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n5v1mi4aiteeau6cru8l.jpg
---

### *A year from today, I'm going to regret not starting to learn coding. Just start. Today.*

---

> Stop worrying about how long it will take and get started. Time will pass either way. — James Clear, author of the book *Atomic Habits*

That’s a mic drop of a [quote](https://jamesclear.com/3-2-1/july-2-2020) there. To everything that I hesitated doing because it was too difficult, took too much time, got me weird stares. 

Because a year from today, I’m going to regret not starting in anything that I wanted to do. And it really hit home for me, because there’s no challenge like coding that I wrangled with more and not made the progress I wanted. Why? All because it feels tooo hard. Or takes too long to learn. Or because I had [wrong expectations](https://dev.to/jasonleowsg/nocode-expectations-for-code-is-killing-my-learning-37bh) of it. I started learning to code in August 2019. I wanted to build a SaaS. It was a determined effort to learn. I learned some basics, then Rails. And then I stopped. One year after that, there's still no SaaS in sight.

Comparatively, I read stories like [@Dannypostmaa’s journey](https://www.indiehackers.com/post/how-i-earned-16k-in-48-hours-with-my-saas-launch-detailed-breakdown-578ad8f767?commentId=-MBJb17XgBng0sHzK355) from not knowing how to code eight months ago, to launching his third and most successful SaaS project Headlime recently. His second SaaS called Landingfolio, was a drag and drop website builder. Something I too wanted to make, but nothing to show for. Whereas Danny here did it not just once but thrice at two thirds the time I took. Reading stories like that is a cognitively dissonant experience. On one hand, it’s so inspiring to witness how others had done it. If they can, so can you. But on the other hand, it’s also demoralising, to see everyone seems to be progressing but you’re stuck.

Now the words of James Clear is stuck in my head. **Easy or not, time will pass either way.** If I had just started anyway, I would have had much more progress now than whining about how how hard it was to learn coding. 

It’s not like I’d not done harder things. This too—this perceived challenge—shall pass. 

**Time will pass either way.** 

Better to get caught on the right side of time passing, realising how time flew by when you were coding, than my current predicament of having nothing to show for, to myself.

---

Follow my daily writings on [Lifelog](https://golifelog.com/goals/30), where I write about learning to code, goals, productivity, indie hacking and tech for good.
Use Dev.to, Gmail, Github without a mouse 🚫🐭
Tags: productivity, opensource, javascript
Published: 2021-10-14 22:27:05

Hi there! We created an open source framework for Ctrl + F that selects buttons on the page vs. only text and lets you press enter to navigate to them. It's open source and it lets you navigate tools like Gmail, Github, and yes, even tools like Dev.to without touching your mouse! 

{% youtube y7wGtyeEoKQ %}
{% github comake/yip-yip %}
3 min design tip on how to use the font Chaumont for your projects!
Tags: startup, discuss, design, fonts
Published: 2021-10-14 22:12:11

Hi everyone! I write a newsletter called FontDiscovery. Every week I create a digestible visual guide about a new font with examples and case studies to help founders, creators, and makers step - up their creativity and marketing game. This week, I covered Koho, a font perfect for attention-grabbing marketing projects and complex digital products.

Font Details
Koho mixes calligraphy with modern influences. It combines calligraphic and functional font styles by having traits of both monospace fonts and humanist sans serif. This harmony between the organic and the functional creates a unique aesthetics.

How should I use it for logos?
Koho has oblong shapes, consistent stroke, calligraphic influence, and large x-height to communicate warmth and openness. It is perfect for tech brands.

How should I use it for marketing?
Koho communicates warmth and openness. It can be used for display and more complex projects. It has regular and italic in six weights. It can support complex projects like product landing pages and app interfaces. It pairs well with Daubenton.

See examples, use-cases, and sources of this issue on fonts.substack.com. [Subscribe](https://fonts.substack.com/) if you feel like. I share similar tips every week!

![infographic](https://cdn.substack.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fe93a1900-2e79-4c30-82d8-f66c527d07e2_1519x759.png)
How to choose a collection in C#
Tags: csharp, programming, dotnet, datastructures
Published: 2021-10-14 22:10:11

When I started my career with .Net Framework 4.0, I always felt challenging when it comes to choose the right collection for my development. I always end up with either Generic Dictionary or List.

But this article from the Microsoft can be a life-saver [https://docs.microsoft.com/en-us/dotnet/standard/collections/?WT.mc_id=-blog-scottha] 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jj1sfkll9jnsdw5w0797.JPG)
🎬FAQ Accordion Card | HTML CSS JavaScript
Tags: html, css, javascript, tutorial
Published: 2021-10-14 21:36:39

***In Today’s episode, I’ll be live coding an accordion from Frontend Mentor, using HTML, CSS, and JavaScript!***


{% youtube m6ZmRE1i5-A %}


This video will teach you how to build an accordion faq without using any dependencies or frameworks. We use basic HTML, CSS, and JS.
Refactoring my code - Git Rebase
Tags: beginners, javascript, opensource, webdev
Published: 2021-10-14 21:31:29

This week I will be working on **refactoring** my code to make it look nicer, shorter, and easy to maintain my source code later on. Moreover, I have a chance to practice on new knowledge such as `git rebase`, `git commit --amend`, and definitely `git merge`.

##HOW and WHERE to start?
The first thing I need to do is make sure I **update** everything from [my Github](https://github.com/tcvan0707/txt2html) into my local machine. Then I create another branch named `refactoring`, and I will do my changes in this branch, which will not affect any things in my original code.

I have to read my code again and again to find where needs to be fixed. In this process, I will mainly focus on changing variables and functions name, and also getting rid of *Global Variable*. I do not make a lot of changes in my code, so it still works the way it does. When I first write my code, I already want it to be short and easy to maintain, so I do not have to do much changes now.

After I get everything done, I do an **Interactive Git Rebase** in order to `squash` all of my factoring commits into a single one. Here is the moment I encounter a problem while trying to `squash` my commits. I did not notice that I would be in a different edit mode when doing the interactive git rebase, so when I tried to change the word `pick` into `squash` for my last commit, I pressed the *delete/insert* button and it deleted the name for the commit. It was `b2f4c75` and I somehow pressed it into `4c75`, I did not remember its name and I either did not know how to undo it or exiting it and tried the new one. After an hour later, I figured out there was a little note at the bottom left to notice me which mode I was in. I pressed `i` to get into insert mode, and changed my commit, then exit by pressing `Esc` and type `:x!`. After squashing my commit into a single one, I used **Amended Git Commit** to update my [commit message](https://github.com/tcvan0707/txt2html/commit/0173054fb7fe910c4fc6b7c83d42e9cc420f8ee9).

Once again, Git is so powerful, it allows me to change my code's history, and make it look more simple. Later one, I would easily catch up what I have done for each commit I have made.
Today's Daily Humor For Devs - Daily Developer Jokes
Tags: jokes, dailydeveloperjokes
Published: 2021-10-14 21:29:01

---
title: "Today's Daily Humor For Devs - Daily Developer Jokes"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12590a84b94.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit._

<!--
Joke text:
___Q:___ What are computers' favorite snacks?

___A:___ Microchips, phish sticks, and cookies. But just a few bytes of each.
 -->
PagerTabStripView - open source
Tags: opensource, swift, hacktoberfest
Published: 2021-10-14 21:22:59

PagerTabStripView is a pager view built in pure SwiftUI. It provides a component to create interactive pager views which contains child views. It allows the user to switch between your views either by swiping or tapping a tab bar item.
Github repo: https://github.com/xmartlabs/PagerTabStripView
Creating button with Python.
Tags: python, codenewbie, programming, tutorial
Published: 2021-10-14 21:21:24

Tkinter gives us classes to create different widgets, and so is the case with a button. We have a BUtton class in tkk. which gives us the ability to create a button with the help of the Tkinter library. 

Below is the code that helps us create a simple button. 
```
from tkinter import Tk
from tkinter import ttk
root = Tk()
button = ttk.Button(root,text="AlixaProDev")
button.grid()
root.mainloop()
```
You can [learn more about creating button with Tkinter in Python](https://www.alixaprodev.com/2021/10/creating-button-with-tkinter-python.html) from my blog.
Day 472 : West Coast
Tags: hiphop, code, coding, lifelongdev
Published: 2021-10-14 21:20:38

_liner notes_:
- Professional : Had a bunch of back to back meetings today. Then I revisited an earlier web application to start to add some more functionality to it. Also, getting ready for a meeting with some folks over on the West Coast so it's a little later for me. Did some preparation for a live stream that I will be a part of tomorrow. 

- Personal : Went through tracks for the radio show last night. Watched an episode of "Squid Games" and pretty much called it a night.

![A photo at sunset of a field in Maple Ridge, BC, Canada with green grass, a couple of trees and mountains in the distance](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/up0q3ldrclce33pe6jea.jpg)

Going to have this meeting soon. Then I want to work on my side project's settings page which will turn on and off the functionality. Definitely watch an episode of "Squid Game" and maybe listen to tracks for the radio show.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube a2QP3auNXmQ %}
What Does 'queue:listen' actually do in Laravel?
Tags: laravel, php, programming, webdev
Published: 2021-10-14 20:59:37

When using the queue command in Laravel you may have noticed that you can do `queue:work` or `queue:listen`. The `queue:listen` command in fact runs this:
```php
php artisan queue:work --once --name=default --queue=default --backoff=0 --memory=128 --sleep=3 --tries=1
```

As you can see they're the exact same two commands under the hood. The listen just sets some simple options for you, like rebooting the framework on every job, so it makes development easier.
Array.slice() and String.slice()
Published: 2021-10-14 20:51:19

This post will explain the Array method `slice()`  as well as the string method of the same name.

This function returns a portion or "slice" of an array or string. The return type is the same as that of the original's type.

`slice()` returns a new array or string, and will **not** change the original.


### Function parameters

The `slice()` function can take two arguments as parameters. 

#### Syntax
```javascript
Array.slice()
Array.slice(start)
Array.slice(start, end)
```
The first parameter will be the starting point for where your "slice" begins. This argument will be an `index` for the array or string, so its type should be a number.

```javascript
let myColors = ['Red','Blue','Yellow', 'Green']
console.log(myColors.slice()) //'Red','Blue','Yellow','Green'
console.log(myColors.slice(1)) //'Blue', 'Yellow', 'Green'

let myString = "There is no spoon"
console.log(myString.slice(5)) //" is no spoon" 
console.log(myString.slice(12)) //"spoon"
```

If a second argument is passed to the function, it will serve as an `index` to the array or string and act as the end of your "slice"

When using a second parameter, slice() will **NOT** include the element or character at the provided index.

```javascript
let myColors = ['Red','Blue','Yellow','Green']
console.log(myColors.slice(1,3)) //'Blue','Yellow'

let myString = "There is no spoon"
console.log(myString.slice(12, 16)) //"spoo"
```

You can use a negative number as your index. This will offset the starting point to the end of the array and count backwards.

```javascript
let myColors = ['Red','Blue','Yellow','Green']
console.log(myColors.slice(1, -1)) //'Blue','Yellow'

let myString = "There is no spoon"
console.log(myString.slice(-11, -6)) //"is no"
```

***Index Range***

* If `start` is greater than the length of the array, the function will return an empty array/string or string.

* If `end` is greater than the length of the array, the function will return everything after `start` 

* If `start` is less than `end`,the function will return an empty array or string.
Contribute to Call for Code projects as part of Hacktoberfest
Tags: hacktoberfest, callforcode, callforcodeforracialjustice
Published: 2021-10-14 20:50:02

## Give back through Call for Code open source solutions and hack for racial justice

We're happy to announce that Call for Code is participating in Hacktoberfest! Now in its eighth year, [Hacktoberfest](https://hacktoberfest.digitalocean.com) is a global online festival meant to drive contribution to and involvement in open source projects. 


Hacktoberfest is a great way for you to contribute to our tech for good open source solutions that address various social and humanitarian issues including racial justice (Call for Code for Racial Justice), climate change, natural disasters and COVID-19. Your contributions to Call for Code projects directly benefit organizations doing grassroots work and local communities that need these solutions. There are many ways to contribute, no matter your area of expertise. 

We have many open issues still available for your participation during Hacktoberfest and year-round. Here are a few ways you can contribute to our projects:
- updating documentation
- flagging bugs in code.
- creating Github Actions for testing & greeting bots
- evaluating language translations of our websites
- creating templates for issues and pull requests


Start contributing to Call for Code projects as part of Hacktoberfest
1. Watch our [Call for Code for Racial Justice Hacktoberfest Kickoff replay](https://www.crowdcast.io/e/hacktoberfest-kickoff) . Get great tips on contributing to issues during Hacktoberfest.
2. Check out our new [Call for Code for Racial Justice Hacktoberfest Handbook](https://call-for-code-for-racial-justice.github.io/Hacktoberfest/#/) and [Call for Code Hacktoberfest Handbook](https://call-for-code.github.io/Hacktoberfest/#/) to learn all about how to contribute. 
3. Get up to speed on [Hacktoberfest](https://hacktoberfest.digitalocean.com/) and follow the instructions for general participation.
4. Join us on Slack to join our office hours and our [Call for Code Community](http://callforcode.org/slack). 

{% user upkarlidder %}
{% user demiajayi %}
graph_summarizer
Tags: python, nlp, opensource, algorithms
Published: 2021-10-14 20:42:14

{% github mitya8128/graph_summarizer no-readme%}

Today I want to tell about my new experimental project - text summarizer based on graph algorithms and distributive language models.

Little prehistory: some time ago I worked on [graph visualizations](https://github.com/mitya8128/nlp_graph) based on vector embedding of texts . This vizualisations show relational "distance" between words of sentences. So user can visualize graph of distances between word of text, also you can apply some advanced graph-theoretic approaches to further analyze input text and it's hidden features.  
I want to use this approach to try on text summarization problem - in my case to extract some more informative sentences from text to compress original text.

[Here's](https://github.com/mitya8128/graph_summarizer) the link to the repo

You can use to play around, don't hesitate to contact me if you have any feedback!
For local use you need to download [word2vec](https://wikipedia2vec.github.io/wikipedia2vec/pretrained/) model (300d, binary format) and put it in *model* folder inside root folder. 
[Demo of using](https://github.com/mitya8128/graph_summarizer/blob/master/demo_russian.ipynb)  (yet only in Russian, soon I'll add another languages)   
  
generate_summary_loop() function is an endpoint.   
NB: use flag *need_tag=True* if you need to use pretrained model with POS-tags, else *need_tag=False*.
dear programmers
Published: 2021-10-14 20:02:03

hi 
i have question 
 is there any different between servers for  static sites (idk i mean a un real-time sites like online shop or etc. ) and real-time sites (like crypto servers or live pricing or live chatting or something like twitter or Instagram or fb )  servers? because i heard that i must buy vps or some thing ...
 guide me like I'm 5 ( i hope understand my question )

thanks and regards
Computer vision made easy with Azure Custom Vision – LIVE – Oct 16
Tags: azure, ai, beginners, tutorial
Published: 2021-10-14 20:01:44

### I am speaking at Global AI Student Conference

On October 16, 2021, the Global AI Student Conference takes place and I am really excited to be part of it! I will talk about Azure Custom Vision and show how to build and deploy an image classification model for bird species classification.

Date: **October 16, 2021**
Time: **10:00-18:00 UTC**
Location: Global
Registration & program: [aiconf.education](https://aiconf.education)

### My session

Title: **Create no-code ML Models with Azure Machine Learning and Microsoft Learn**
Time: **11:30-12:00 UTC**
Topic: Cognitive Services

#### Details:

Learn how to build a no-code image classification model with the Azure Custom Vision service! Azure Custom Vision is an Azure Cognitive Services service that lets you build and deploy your own image classification and object detection models. In this session, you will learn how to use the pre-trained machine learning models in Azure Custom Vision service, build and deploy your own computer vision model that will identify species of birds.

What you will learn in this session:
* Understand the concept of AI, Computer Vision and Transfer Learning
* Use the pretrained machine learning models in Azure Custom Vision
* Build and deploy an image classification model and consume the model in a Python app

#### Self-Paced Learning from Microsoft Learn
* [Classify images with the Custom Vision service](https://docs.microsoft.com/el-gr/learn/modules/classify-images-custom-vision/)
* [Classify endangered bird species with Custom Vision](https://docs.microsoft.com/el-gr/learn/modules/cv-classify-bird-species/)
* [Create computer vision solutions with Azure Cognitive Services: Classify images](https://docs.microsoft.com/el-gr/learn/modules/classify-images/)

#### Learning Resources
[Build a flower classification model with Azure Custom Vision](https://www.foteinisavvidou.codes/build-a-flower-classification-model-with-azure-custom-vision/)
*Featured on the [Educator Developer Blog – Microsoft Tech Community](https://techcommunity.microsoft.com/t5/educator-developer-blog/build-a-flower-classification-model-with-azure-custom-vision/ba-p/2807202)*