teleren/devto huggingface dataset:
Best Rice Cooker Brand in india
Tags: javascript, beginners, programming, html
Published: 2021-12-17 09:21:51

Our food is primarily made with rice. You can enjoy local foods like biriyanis, pulaos, grains, gruels, jambalaya and more for a fair price. Ensure your rice is cooked properly and that you eat it with the proper seasoning.  Rice cookers can accommodate rice grains, but cooking multiple batches at once requires considerable guesswork and hassle. By owning this product, you can avoid overcooked, mushy, or burned rice. This electric rice cooker makes it easy to cook rice quickly and efficiently. Know more: https://theappliances.in/best-electric-rice-cookers-in-india/
Develop Spring boot REST API in AWS - PART 3/4 (CodeDeploy / Blue Green Deployment)
Published: 2021-12-17 09:13:26

In this video tutorial (part3), I have demonstrate the blue/green deployment of  the Spring boot REST API. 

I will show you the the following steps in the demonstration:

(1) Create IAM role
(2) Create an Application Load Balancer
(3) Create Security Group For ECS cluster
(4) Create ECS cluster
(5) Create Task Definition
(6) Create ECS Service
(7) Create CodeDeploy

{% youtube 7brbFElKAAk%}

In the next part, I will demonstrate the whole CI/CD pipeline.
Top 8 REST API testing tools to use
Tags: webdev, productivity, technology, development
Published: 2021-12-17 09:06:59

Need to make sure your #API is secure?
Here's the [list of top 8 REST API testing tools](https://uibakery.io/post/top-api-testing-tools?utm_campaign=ui_bakery%20-%20article%20-%20blog%20-%20cacq%20-%20rest_api_tools%20-%20views&utm_source=DevTo&utm_medium=webdev&utm_content=article_release) you should try in 2022. 
Learn how #lowcode platforms can become an alternative to them.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zmgolwt3aj7m5953birm.jpg)
Neurofy - Benefits, Side Effects And, Price!
Published: 2021-12-17 09:04:36

 I get lots of emails referring to doing this. I thought it was a [Neurofy ](https://ipsnews.net/business/2021/12/14/neurofy-reviews-cognitive-enhancer-10x-premium-mushroom-pills-legit-or-a-scam-results-exposed/)problem. There are a lot of other examples. I imagine you understand my concept. This is making a world of difference. What I do from here is straightforward. This is a bag of tricks to designing that with this. Therefore which one to follow? That situation is tailor made for that. We'll pretend that this is a big deal. A practice blew up even though this is all there is to that. You should understand how that will impact your life.

Visit Hare=> [https://ipsnews.net/business/2021/12/14/neurofy-reviews-cognitive-enhancer-10x-premium-mushroom-pills-legit-or-a-scam-results-exposed/](https://ipsnews.net/business/2021/12/14/neurofy-reviews-cognitive-enhancer-10x-premium-mushroom-pills-legit-or-a-scam-results-exposed/)
Develop Spring boot REST API in AWS - PART 2/4 (ECS Cluster & ECS Service)
Published: 2021-12-17 09:04:22

In this video tutorial (part2), we continue to explore developing spring boot REST API on AWS. We will focus on ECS in this part.


It involves the following steps:

(1) AWS ECS Basic 

(2) ECS Cluster demo

(3) ECS Task Definition demo

(4) ECS Service demo


{% youtube jiGjL25v0v0%}




Thank for watching!

In the next part, I will discuss the CodeDeploy.



Source Code:

[Source](https://github.com/babysteps-topro/aws-springboot-pipeline1.git)
ใช้งาน Application Pool Identity สำหรับ Virtual Account
Tags: dotnet, security
Published: 2021-12-17 09:03:26

1.คลิกขวาที่ Application Pool ที่เราต้องการเปิดการใช้งาน Identity และเลือก Advanced Setting... ตามภาพด้านล่าง
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kix26098lvlgq1oraj7w.png)
2.ที่หัวข้อ Process Model หัวข้อย่อย Identity ให้เลือกเป็น ApplicationPoolIdentity จากนั้นกด OK button ตามภาพด้านล่าง
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ubarbertmtbyv64tqs32.png)
3.คลิกขวาที่ Folder ที่เรา Deploy Project แล้วเลือก Properties
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ctvvk3sakwzlp3qfxhag.png)
4.เลือก Security tab จากนั้นคลิกที่ Edit button
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uxnsqfqgsqju4nc7y9f5.png)
5.คลิกที่ Add button
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2za6rl9g2qk0v6jo8dyd.png)
6.ที่ช่อง Textbox ให้พิมพ์ IIS AppPool\ {APP POOL NAME} ในตัวอย่างผมตั้งชื่อ APP POOL NAME คือ DotnetCore ก็จะเป็นแบบนี้ IIS AppPool\DotnetCore จากนั้นกด Check Names button สุดท้ายกด OK button
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y9nkrx7456v4eudh2eev.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yrlt92126ft721xe3sz8.png)
7.เราจะได้ Account ชื่อ DotnetCore จากนั้นเราก็สามารถปรับ Permission ได้ตามที่เราต้องการ จากนั้นกด OK button
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nsc5tkl6wr1drxti10xf.png)
8.เข้าไปที่ IIS Management Console จากนั้นเลือก Site และกด Restart 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wklk2q305gc1e0qt0ooy.png)
สุดท้ายทดสอบเข้าใช้งานผ่านทาง Swagger(ตัวอย่าง)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7eo7oym8580silakcdv3.png)
Open Source win: IBM shifts legacy commerce systems to my one-man OSS project
Tags: opensource, startup
Published: 2021-12-17 08:58:10

For the past 3.5 years I've been working on an open-source e-commerce platform, [Vendure](https://www.vendure.io/).

It's in a niche known as "headless commerce" which is really hot right now, so I've had lots of interest from investors over the past year. However, I'm determined to see how far I can take things as a bootstrapped indie-hacker.

Yesterday was a major milestone as I was able to announce that [IBM have adopted Vendure](https://www.vendure.io/case-study/ibm/) to replace an outdated, proprietary system that had been slowing them down and causing huge expense in terms of license fees as well as lost developer productivity.

![case study image](https://www.vendure.io/case-study/ibm/ibm-header.jpg)

This is really exciting because it shows just how much progress the open-source movement has made, that even the largest enterprises are willing to bet on lean, relatively new projects like Vendure - a single-person open-source project!

It's a sign that the technology stack _is_ important. Developer experience, maintainability, documentation, openness - all these things actually contribute to the cost of running a system. So from both a technical _and_ financial viewpoint, OSS solutions increasingly make more sense.

There's that old phrase, "nobody got fired for buying IBM". Well, I'm hoping that this will make it clear that my project is a safe choice, no matter the company size.

Just thought I'd share the success!

If you want to know more about Vendure, I recently wrote a [short intro tutorial](https://dev.to/michlbrmly/set-up-a-nodejs-e-commerce-app-in-10-minutes-with-vendure-287b), and I plan a more in-depth series of tutorials in the coming weeks.
Getting Started with Comet ML
Tags: machinelearning, python, datascience, ai
Published: 2021-12-17 08:24:46

An overview of the popular experimentation platform for Machine Learning, with a practical example.

Comet ML is an experimentation platform, which permits testing Machine Learning projects, from the beginning up to the final monitoring. Many other similar platforms exist on the Web, including Neptune.ai, Guild.ai, Sacred, and so on.
Comet ML can be easily integrated with the most popular Machine Learning libraries, including scikit-learn, Pytorch, Tensorflow, Keras, and so on. Experiments can be written in Python, Javascript, Java, R, and REST APIs.
In this article, I focus on Python.

The article is organized as follows:
* Overview of Comet ML
* Working with Comet ML
* Example of usage

## 1 Overview of Comet ML
Comet ML is an online platform, which permits tracking experiments. The main advantage of Comet ML is that I can easily build a reporting dashboard and a monitoring system.
Comet ML provides the following features:

* compare experiments: I can easily build different experiments for the same project, and compare the results, in terms of metrics, system metrics, parameters, and so on;
monitor the model: I can monitor the model from the early stages up to production. This can be done through alerts and debugging strategies;
* collaborate with other people: I can share my workspace project with other people;
* build reports and panels: starting from the results of my experiment, I can easily build reports and dashboards;
keep my project public or make it public.

## 2 Working with Comet ML
Once I enter the Comet ML Web site, I can create a free account. Then, I log in to the platform and I create a new project, by clicking the relative top right button. I fill the form with needed information.

When I click on the Create button, an empty dashboard appears.

I can add a new experiment, by clicking the button on the top right of the page (+Add). I select Experiment from the dropdown menu.
The platform generates a new API for the experiment, that can be used in my Python code:
```
# import comet_ml at the top of your file
from comet_ml import Experiment

# Create an experiment with your api key
experiment = Experiment(
    api_key="PUT HERE MY API KEY",
    project_name="decisiontree",
    workspace="PUT HERE MY ACCOUNT NAME",
)
```
Now, I need to install the comet_ml Python package on my local computer:
```
pip3 install comet_ml 
```

And then I can start coding, as usual.

Continue Reading on [Towards Data Science](https://towardsdatascience.com/getting-started-with-comet-ml-549d44aff0c9
)
Why should I improve my Java programming skills as a freelancer? 

Published: 2021-12-17 08:22:02

In today's digital world the power of efficient software is undisputed. With applications and websites linked with almost every organization, upskilling yourself with developer skills becomes integral. As most applications use Java programming software at some stage, you need to be an efficient freelance programmer to get access to more opportunities. Below are a few reasons to upskill yourself in [Java programming](https://eiliana.com/blogitem/how-java-latest-version-makes-java-programming-more-productive)-


Efficiency: As you upskill yourself, you will understand more about the implementation of Design Patterns and Java Libraries. These help you perform the task concisely and with more effectiveness. Thus, integrating more libraries into your Java coding program will make them more efficient.


Optimized applications: Java is a vast programming language. It has multiple applications across various domains. With numerous in-built functions and several frameworks, it isn't a difficult task to create optimized applications. As a freelancer, you should focus on understanding the use of Java functions that will reduce the run-time and performance of the applications.  Companies looking for freelance Java developers are likely to be inclined towards developers having the ability to create optimized applications.


Add value to an organization: Java programming language keeps getting updated pretty frequently. With every update, several bugs are resolved. Additionally, the launch of new features makes specific tasks less cumbersome. As a freelance developer, if you upskill yourself in the latest updates, you are likely to be a more attractive prospect for companies working on Java programming software.

At Eiliana, we provide you with the right setof opportunities to connect with companies looking for freelance developers. Thus, the more skilled you are in Java programming, the more are your chances to work on a freelance project with such companies. Hence, you should always be on the lookout for opportunities where you can upskill yourself.
Advent of Code 2021 - Day 17
Published: 2021-12-17 08:08:24

---
title: Advent of Code 2021 - Day 17
published: true
description: In this video series, I try to challenge myself with the Advent of Code trials. Each solution will be published to Github, and I hope you will learn something from my coding mistakes and perhaps send some code my way on how you have done these challenges. I know by reading code, so this is such an exciting thing for me.
tags:
cover_image: https://danielpersson.dev/wp-content/uploads/2021/12/2021-12-18_21-18-09.jpg
---

{% youtube 0Eb6VjU2_BI %}

In this video series, I try to challenge myself with the Advent of Code trials. Each solution will be published to Github, and I hope you will learn something from my coding mistakes and perhaps send some code my way on how you have done these challenges. I know by reading code, so this is such an exciting thing for me.
Flaw in CodeWars code?
Tags: codewars, javascript
Published: 2021-12-17 07:59:40

I had [this](https://www.codewars.com/kata/50654ddff44f800200000007/) challenge:

> Given 2 strings, a and b, return a string of the form short+long+short, with the shorter string on the outside and the longer string on the inside. The strings will not be the same length, but they may be empty ( zero length ).
> Hint for R users:
> The length of string is not always the same as the number of characters
> For example: (Input1, Input2) --> output
> ("1", "22") --> "1221"
> ("22", "1") --> "1221"

And my solution was: 
`const solution = (a, b) => {return a.length < b.length ? a+b+a : b+a+b}`
Then I found this among accepted solutions:
`const solution = (a, b) =>  a < b ? a + b + a : b + a + b;`
Which is wrong in when you pass "true" or "false" or both of them: 
`solution("u","false") -> "falseufalse"`
`solution("true","false") -> "falsetruefalse"`
`solution("true","sample") -> "sampletruesample"`

I am doubtful now about the platform. Maybe it also accepted my solutions when they were wrong...
A11y tips: use headings and use them well
Tags: a11y, tips, html
Published: 2021-12-17 07:55:25

More than two-thirds (**67.7%**) of screen reader users use headings with the [primary method to find information](https://webaim.org/projects/screenreadersurvey9/#finding), and a vast majority of them (**85.7%**) find them [useful for navigating](https://webaim.org/projects/screenreadersurvey9/#heading). That is why **it is essential to have a good heading structure in our documents**. Here are some tips:

- Use a single `<h1>` in the entire document. There always has to be only one and it has to describe the content of the page in the best possible way.
- If you can, place it just before the main content (marked with `<main>`), so it will be much more convenient to access it once the `<h1>` is found since it will be the next thing that the screen reader will announce.
- Remember that your document does not have to start with an `<h1>`, you can start with a lower level as long as there is later an `<h1>` located in the place we just explained.
- If the design does not show an element that represents the `<h1>` it is not a problem, you can always put it where it is most convenient for screen readers and hide it visually using the [CSS Clip](https://webaim.org/techniques/css/invisiblecontent/#:~:text=receive%20keyboard%20focus.-,CSS%20clip) technique.
- Use the rest of the levels in a logical way that contributes meaning to the structure of the document. Remember that the levels you use will be those that mark the importance of each content for screen readers.
- Don't skip levels. Make sure that a `<h2>` is not followed directly by an `<h4>`, for example. It is ok to skip ranks when closing subsections, for instance, a `<h2>` beginning a new section, can follow an `<h4>` as it closes the previous section.
- Whenever you can, put the content related to the header just below it, for the same reason that we have commented on the `<h1>`.

If you want to see your header structure in a comfortable way, there are extensions for [Chrome](https://chrome.google.com/webstore/detail/headingsmap/flbjommegcjonpdmenkdiocclhjacmbi) and [Firefox](https://addons.mozilla.org/nl/firefox/addon/headingsmap/) that are very useful.
X-Mas Wisher in python
Tags: python, programming, tutorial, beginners
Published: 2021-12-17 05:05:51

#Intro
Hello everyone sorry for the late post as you might now that I am a student so that's why I got loads of classwork to do that's why this post is late . So as you know that X-Mas / Christmas is coming close so in today's post I will be telling you how to make an X-Mas Wisher in Python.

#Let's Get started !

##Importing the required modules

##main.py
```python
#Making an X-Mas Wisher using python

#importing the required modules
import random
```
For printing the wishes we also need a file which contains wishes so first create a file named wishes.txt 

##Wishes.txt
```text
Happy X-Mas
Santa Claus is coming with some exciting gifts!
Wishing you a Christmas that's merry and bright!
I hope your holiday season is full of peace, joy and happiness!
Merry Christmas with lots of love
I hope your Christmas is filled with joy this year!
May this season find you among those you love, sharing in the twin glories of generosity and gratitude.
Christmas is not an external event at all, but a piece of one’s home that one carries in one’s heart.
We clap hands and welcome the Peace of Christmas.
We beckon this good season to wait a while with us.
Christmas isn’t just a day. It’s a frame of mind.
Wishing you a season that’s merry and bright with the light of God’s love.
Christmas gives us an opportunity to pause and reflect on the important things around us.
```

##Now we will open the file and choose a random line to print from it

```python
#opening and reading the file
lines = open('wishes.txt').read().splitlines()

#using random to choose any random line from the file
Wish = random.choice(lines)

#printing the line
print(Wish)
```
Now with this done we have successfully created a X-Mas Wisher in python.

I hope you enjoyed this post.
feel free to write down your suggestions/doubts in the comments section and comment "**X-Mas Yaay!**" if you see this

That's it for today, stay safe and do take very good care of yourselves.
Thanks
How do we improve PHP in the future?
Tags: php, webdev
Published: 2021-12-17 07:32:14

>**Just the Gist**  
>While many are contributing to PHP, there are a few core developers with knowledge and expertise that we are relying on. But there are initiatives to incentivize more developers to contribute their expertise to the language.

## The Core of the Issue
We are many developers who love to work with PHP. But there are also many designers and website owners using the power of PHP to create beautiful and functional websites. Considering that there may be about [80% of websites](https://w3techs.com/technologies/details/pl-php) (where server-side language is known) using PHP, we may be mislead to believe that there is a strong core of PHP developers. While there are many people contributing to the PHP language, some core features are beholden to just a couple of persons. 

One feature that is integral to PHP 8 and giving it such a performance boost is the Just-in-time compiler. According to the post [Avoiding busses](https://blog.krakjoe.ninja/2021/05/avoiding-busses.html) by Joe Watkins, there may now be two people understanding the integral parts of this system. Now, seeing one of these people move on to other projects, we are swiftly made aware of some of the challenges we face as a community. 

Not only are there few people who currently understand some integral parts, but there are also few who have a full time job to orchestrate the development of the language. Since it's an open source project, there hasn't been the mission for one single corporation to drive the development. Despite this, many individuals, companies, and organizations has made some significant contributions. But this is not enough.  
  
It's not all dark though. We have a foundation being formed to help the community. And the more people who are aware of what is known as **the bus factor**, the more are willing to help. C is the building block of PHP, and perhaps this is something you would be interested to build with. Get to know the internals from [PHP Internals Book](https://www.phpinternalsbook.com/index.html).


## What about you?
Have you thought about who builds the core of PHP? Would you like to contribute? Are there other critical internal features you would like to highlight? Comment below and let us know what you think ✍

## Further Reading
* Joe Watkins about *the bus factor*: https://blog.krakjoe.ninja/2021/05/avoiding-busses.html
* Exploring the PHP JIT compiler: https://www.zend.com/blog/exploring-new-php-jit-compiler
Django Ecommerce Beautiful UI and Backend.
Tags: django, ecommerce, uiweekly, backend
Published: 2021-12-17 07:14:49

{% youtube Bp4dRyjrl8k %}
DEMO VIDEO: https://www.youtube.com/watch?v=Bp4dRyjrl8k
SOURCE CODE: https://rebrand.ly/36rzez7

In this project I have created fully responsive and functional ecommerce website.


Add product: You can easily add product by admin panel.


Add to cart: Add to cart function also is available.

Category: Users can visit a page that displays a list of all product categories.

Get orders easily: you can easily get orders and see it by admin panel when you want. 

Django Admin Interface: Via the Django admin interface, a site administrator can view, add, edit, and delete any listings, comments, and bids made on the site.


Product Features

Product Features
1. Add product: Add product easily by admin panel,

2. Get orders: Easily get orders and see it in admin panel.

3. Categories: Users can visit a page that displays a list of all product categories.

4. Django Admin Interface: Via the Django admin interface, a site administrator can view, add, edit, and delete any product.
How to come up with unlimited Content/Tweet Ideas
Published: 2021-12-17 07:07:37

Growing a Twitter account requires posting valuable content consistently.

However, coming up with content or tweet ideas can be a real struggle.

So, how can someone come up with unlimited content ideas? 

Let us find out.

##  Use a Content Matrix.

Content matrix is a framework to help direct your content based on your specific content goals, whether you want/need to entertain, inspire, educate or convince your audience.

How to create a content matrix.

- Open a blank page.
- One column for potential audiences.
- One column for topics.
- One column for medium.

##  Use the Spontaneous Capture Method.

Spontaneous capture is recording down any content ideas that come into your mind.

How to use it:

- Capture the idea.
- Leave it alone for 12hrs.
- Go back and edit it.
- Schedule for posting.

##  Use the Morning Brain dump Method.

This process involves getting out your journal or notebook in the morning and writing anything that comes to mind about any topic you are interested in covering.

How to use it:

- Open a blank page.
- Set a timer for 30 minutes.
- Choose a topic you want to cover.
- Write every idea that comes to mind.
- Leave the ideas for 12hrs.
- Revisit, edit, and schedule.

##  Use the Tweet Stalk Method.

Tweet stalk is the process of visiting Twitter accounts and studying the best-performing tweets.

How to use it:

- Download Twemex Chrome extension.
- Visit any profile.
- Study best-performing tweets.
- Get ideas from the tweets for your niche.

## Conclusion

Coming up with content ideas doesn't have to be a struggle at all. All you need is to put in the hard work and be consistent.

Growing an audience on Twitter has so many benefits. It will bring to you opportunities you never knew existed. 

[Get this Twitter Toolkit that is packed full of strategies that will help you grow your social following.](https://gumroad.com/a/970413171/PeYHf)