teleren/devto huggingface dataset:
Python Project Ideas
Published: 2021-01-13 13:14:30

With the tech business developing drastically, it has gotten basic to get any programming language and start the fitness. Python is perhaps the most straightforward and compensating language the world over. 

Experts suggest starting by selecting project learning post finding about the etymological structure and functionalities. In case you have a basic knowldege on programming, you could start searching for some [Python Project Ideas](https://intellipaat.com/blog/python-project-ideas-for-beginners/) which would redesign your programming capacities and lift conviction. 

Not just this, when you start managing progressing exercises you'll uncover the item headway life cycle(SDLC) of an endeavor. Whether or not you're just a beginner in the language, you could even now start step by step execution of endeavors. 

Here's the explanation should put a foot forward in Project use 

I) To improve conviction — As you work with new devices and advancements, you will end up being all the more secure with your solid and feeble center interests. 

ii) To look at — You ought to adjust with new instruments and advances while working on a python project. The more you attempt various things with different python project musings, the more data you secure. 

iii) To know the done for of SDLC — When you develop an undertaking, you will ensure about a more basic perspective on the current illustration of programming improvement. With time you will sort out some way to deal with plan preceding outlining the code, execute the code, manage the testing cycle, fix bugs, pass on the code, and moreover update your task at times. 

iv) To overwhelm the contemplations of programming — One of the best inclinations of building credible assignments is that with steady practice, you will control the considerations and events of programming in different dialects. 

This is the way wherein you can begin your trip with Python Programming and undertakings of any level be it follower, halfway or progressed level. All you should make progress toward is consistency in the changing part and you'll be all set!
Daily Developer Jokes - Wednesday, Jan 13, 2021
Tags: jokes, dailydeveloperjokes
Published: 2021-01-13 13:00:10

---
title: "Daily Developer Jokes - Wednesday, Jan 13, 2021"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Wednesday%2C%20Jan%2013%2C%202021"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e1259924ce05.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*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 did the command line die of?

___A___: A Terminal illness.
 -->
Selenium Python Tutorial Series
Tags: python, testing, webdev, tutorial
Published: 2021-01-13 12:52:09

In this tutorial series, we will be learning Web Automation using Python and SeleniumBase framework. We will be covering everything from setting up your project from scratch to all the way to integrate it with CI/CD.

### **🤖 What is SeleniumBase?**
[SeleniumBase](https://seleniumbase.io/) is a web automation framework built with Python, pytest, and Webdriver. Since it’s an entire framework it comes with some great in-built features such as –

- All the capabilities of pytest, unittest, and nose for test discovery and running
- Has inbuilt smart wait methods to make your tests reliable
- Includes great logging tools for dashboards, reports, and screenshots
- Run tests in headless mode, or even run tests in parallel to optimize your run time
- And many other great features….

So when you get started with writing your UI tests, your only job is to focus on writing tests, rest all the setup and configuration SeleniumBase takes to care of for us so that we don’t have to reinvent the wheel again every time.

### **💻 What we will be covering in this series?**
- SeleniumBase Introduction
- Setup and Installation
- Write tests using SeleniumBase and Python
- Learning the APIs for SeleniumBase
- Building a test automation framework
  - Implement the Page Object Model
  - Learning various wait methods
  - Setting up reporting and logging
- Cross-browser and Parallel testing
- CI/CD integration using Jenkins

There’s quite a bit we will be covering in this series. Hope you all are excited to begin your next learning journey with me.  🙌

As for the pre-requisite for this series, you will need to have some basic familiarity with Python or any programming language as well as basic familiarity with web automation would be helpful too, the rest we will cover in this series.

---

### **Check out the video below to learn everything we will be covering in this series –**
{% youtube RwmCAHQSnPE %}

---

#### 👇 You can also check out my other tutorial series here –
- [JavaScript API Test Automation Tutorial Series](https://www.youtube.com/watch?v=ZSVw3TyZur4&list=PL6AdzyjjD5HDR2kNRU2dA1C8ydXRAaaBV)

- [WebdriverIO Tutorial Series](https://www.youtube.com/watch?v=e8goAKb6CC0&list=PL6AdzyjjD5HBbt9amjf3wIVMaobb28ZYN)

- [Postman API Testing Tutorial Series](https://www.youtube.com/watch?v=XzoIYpQ_k5E&list=PL6AdzyjjD5HCiZyLYZqjRrB15gHLs8uyV)

---

📧 Subscribe to my [mailing list](https://automationbro.com/mailing-list) to get access to more content like this 
👍 Follow [automationbro](https://twitter.com/automationbro) on Twitter for the latest updates

...

I love coffees! And, if this post helped you out and you would like to support my work, you can do that by clicking on the button below and buying me a cup of coffee -

<a href="https://www.buymeacoffee.com/automationbro">![Buy me a coffee](https://dev-to-uploads.s3.amazonaws.com/i/4aw2ub3f4qkyjk0ivwt4.png)</a>

You can also support me by liking and sharing this content.

Thanks for reading!
The first release candidate of PyScaffold 4.0 just arrived!🎉 
Tags: python, packaging, opensource, news
Published: 2021-01-13 12:52:06

---
title: The first release candidate of PyScaffold 4.0 just arrived!🎉 
published: true
description: The first v4 release candidate for PyScaffold v4, the Python project template generator with batteries included, just arrived with lots of new features and it is even easier to use!
tags: [python, packaging, opensource, news]
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/qqo4pnhhaxnx1qqc74v7.png
---


We are excited to announce that the first Release Candidate for [PyScaffold v4](https://pyscaffold.org/en/latest/) has launched and is now available in [PyPI](https://pypi.org/project/PyScaffold/4.0rc1/). We invite everyone in the Python community to install it via `pip install pyscaffold==4.0rc1` and share your thoughts.

This new release candidate has a ton of [new features](https://pyscaffold.org/en/latest/changelog.html) including our new *interactive mode* (`-i` in the CLI) and the new *[experimental configuration](https://pyscaffold.org/en/latest/configuration.html#default-cfg)* that allow you to save your favourite options to be automatically applied to all projects.

It does not matter if you are new to Python or an experienced developer, if you have an existing project or are starting a new one, the newest version of PyScaffold should make it even easier to get your Python package ready and published.

# What is PyScaffold?

PyScaffold is the tool of choice for bootstrapping high quality Python packages, ready to be shared on [PyPI](https://pypi.org) and installable via [pip](https://pip.pypa.io/). It is easy to use and encourages the adoption of the best tools and practices of the Python ecosystem, helping you and your team to stay sane, happy and productive. The best part? It is stable and has been used by thousands of developers for over half a decade!

# Why PyScaffold?

PyScaffold was created in 2014 and therefore is stable and battle tested, but yet constantly evolving to support its users needs and the latest standards of the Python community.

With PyScaffold you can jump start your Python development with an incredibly smart project template, perfected throughout years of serious usage, that promotes the best practices in the Python ecosystem and ships with ready-to-use configuration for all the tools needed by the vast majority of Python developers.

If you are still not convinced have a look on [these other reasons](https://pyscaffold.org/en/latest/reasons.html) and the extensive list of [PyScaffold's features](https://pyscaffold.org/en/latest/features.html#features). And if you are curious, checkout [our demo project](https://github.com/pyscaffold/pyscaffold-demo), or [install PyScaffold](https://pyscaffold.org/en/latest/install.html#installation) and type `putup -h` to [get started](https://pyscaffold.org/en/latest/index.html#quickstart).


## Feedback
- Issues and bugs:
https://https://github.com/pyscaffold/pyscaffold/issues
- Discussion, suggestions, questions: https://github.com/pyscaffold/pyscaffold/discussions
Why Choose Drupal for Intranet Development?
Published: 2021-01-13 12:49:50

The intranet is a kind of corporate site or similar web platform that integrates the IT infrastructure of some company. Typically, intranets are used in large (and especially in geographically dispersed) companies. The main idea of intranet development is to combine all the elements of corporate data and simplify the work of employees that usually get access through a web browser.

As for tools that could help you build your own intranet in the best way, we can highlight the Drupal 9 platform. Let’s discuss below why we recommend this CMS for intranet development and which modules we pick for the development process.

Read the article Why Drupal is the best option for Intranet development https://anyforsoft.com/blog/why-choose-drupal-intranet-development/
Give a kick-Start to New Year with this Free Notion Template 🚀🔥
Tags: productivity, showdev, watercooler
Published: 2021-01-13 11:58:38

---
title: Give a kick-Start to New Year with this Free Notion Template 🚀🔥
published: True 
description: This Free Notion Template will help you achieve your 2021 Goals. Manage your entire year in just one 
tags: productivity, showdev, watercooler
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/arrrx8mcohbbe1mxfhov.png
---

Hey Family 👋🏼

Today I launched my 15th product on product hunt 🚀, well not a product but a template. So I'm here to share with you folks.

This helps you bring all your goals on the same page to organize your year. Plan and execute, Setting Target to claps back against procrastination. Here you get Four exclusive sections: 
{% youtube _HVuMZxSwbE %}

#### Over Tracker with a Progress bar

![Resoltion Board ](https://dev-to-uploads.s3.amazonaws.com/i/bueiisnwscwtwtxuv3v2.gif)
 
#### 📚 Books: Maintain your bookshelf on our reading tracker.

![Resoltion Board](https://dev-to-uploads.s3.amazonaws.com/i/43aqcykjb0or93t7q5l3.png)
 
#### 🛫 Travel: Vacation plans are not going to be nebulous anymore. 

![Resoltion Board](https://dev-to-uploads.s3.amazonaws.com/i/qadfnalmopunm8a97raa.png)
#### 🏋🏼‍♀️ Fitness: Witness yourself becoming fitter each month.

![Resoltion Board](https://dev-to-uploads.s3.amazonaws.com/i/7z2j361swrxhz7ahff46.png)

#### 📆 Articles: Schedule and plan your content with our planner.

 
![Resoltion Board](https://dev-to-uploads.s3.amazonaws.com/i/k0f5rfr79fpt7dgii1fr.png)
 
Not enough? We have more for you to keep you driven throughout the year.

#### 🏆 The weekly goal tracker: Split down big goals into weekly targets.

![Resoltion Board](https://dev-to-uploads.s3.amazonaws.com/i/fr85zhejo62btgvi1bng.png)

#### 🪣 Bucket list: Add it now! Apart from the goals, what else you want to do or learn this year! 
![Screenshot 2021-01-13 at 5.11.57 PM](https://dev-to-uploads.s3.amazonaws.com/i/ebnmchu8aee6hwudvxmg.png)

#### Want one?

![](https://media.giphy.com/media/JQvKVy3gfT626u8Un0/giphy.gif)

***Here is your link 👉🏼 [Resolution Board](https://prototion.com/notion-for/resolution-board)***

We are also on [product hunt](http://bit.ly/38CzgA6) today. Upvote if you like it. 

## Conclusion 

Well, this is just a start. My goal this year is to launch 11 more free templates for you all. So stay tuned and if you want a particular solution via Notion Template pin me [@sarthology](https://twitter.com/sarthology)

***Don't forget to leave your valuable feedback below. I would love to hear what we can improve in this template. All the best for the year ahead.*** 


![](https://media.giphy.com/media/TwmEnGgxdUT4Y/giphy.gif)
The Swift Programming Language Companion: Methods
Tags: ios, beginners, swift
Published: 2021-01-13 11:40:43

This article is part of a series on learning Swift by writing code to The Swift Programming Language book from Apple. This is the sixth article in Section 2 (here is [Section 1](https://app-o-mat.com/post/swift-programming-language-companion-section-1))

Read each article after you have read the corresponding chapter in the book. This article is a companion to [Methods](https://docs.swift.org/swift-book/LanguageGuide/Methods.html).

### Set up a reading environment

If you are jumping around these articles, make sure you read the [Introduction](https://dev.to/loufranco/the-swift-programming-language-companion-introduction-4k0a) to see my recommendation for setting up a reading environment.

To add a new page, in Xcode:

1. Choose File > New > Playground Page
1. Rename the page to "11-Methods"

### Exercises for Methods

At this point, you should have read [Methods](https://docs.swift.org/swift-book/LanguageGuide/Methods.html) in The Swift Programming Language. You should have a Playground page for this chapter with code in it that you generated while reading the book.

#### Exercises

The chapter covers how to declare Methods inside of Structures and Classes

For these exercises, we are going to imagine a simple media playing app. From the last two chapters, you should have something like this:

```swift
struct Song {
    let title: String
}

class Player {
    var currentSong: Song? {
        didSet {
            if let currentSong = currentSong {
                print("\(currentSong.title) is playing")
            } else {
                print("No song is playing")
            }
        }
    }
}
```

In your Playground write code to do the following:

1. Add a method to `Player` called `isPlaying` that returns a `Bool`. It should be true if `currentSong` is not nil.
2. Add a method to `Player` called `play` that takes a `song` parameter. It should set `currentSong`. The parameter should not be optional.

Harder challenge:

1. Add methods `pause` and `resume` (taking no parameters and returning `Void`). To do this, you might need more properties. Make sure `isPlaying` and `currentSong` behave reasonably.

#### Next

The next article will provide exercises for the [Subscripts](https://docs.swift.org/swift-book/LanguageGuide/Subscripts.html) chapter.
Ory Hydra 1.9: Open Source OAuth2/OIDC Provider

Tags: opensource, oauth, oidc, authentication
Published: 2021-01-13 11:31:44

[ORY Hydra 1.9](https://github.com/ory/hydra/) has been released!

ORY Hydra is an OAuth 2.0 and Certified OpenID Connect Provider and implements all the requirements stated by the OpenID Foundation. 
It issues OAuth 2.0 Access, Refresh, and ID Tokens that enable third-parties to access your APIs in the name of your users.

The open-source project has been built by the ORY community for about six years and we are proud to have handled more than 10 billion API requests in December 2020 from over 23.0000 different production environments.

ORY Hydra is written completely in GO, [security first](https://www.ory.sh/hydra/docs/#security-first), [high performance](https://www.ory.sh/hydra/docs/#high-performance) and [developer friendly](https://www.ory.sh/hydra/docs/#developer-friendly).

We value our community greatly and most development is driven by input from the community. 

[Check if ORY Hydra is the right fit for you!](https://www.ory.sh/hydra/docs/#is-ory-hydra-the-right-fit-for-you)

[ORY Hydra 5 Minute Tutorial](https://www.ory.sh/docs/hydra/5min-tutorial): Set up and use ORY Hydra using Docker Compose in under 5 Minutes. Good for quickly hacking a Proof of Concept.

Check out our [Discussions on Github](https://github.com/ory/hydra/discussions) or [our chat](https://www.ory.sh/chat) if you have any questions or feedback.
DevOps Metrics : 15 KPIs that Boost Results & RoI
Tags: devops
Published: 2021-01-13 11:30:43

To leverage the many advantages of DevOps to the software development process, it is important to treat DevOps as a journey and not a destination unto itself. This essentially means gathering feedback, creating benchmarks, and continually measuring results to track progress.

That’s where tracking metrics come into play. Read full article: https://www.cuelogic.com/blog/devops-metrics
Day 7, 8, 9 - 100DaysOfCode 🤖🦾
Tags: 100daysofcode, javascript, webdev, programming
Published: 2021-01-13 11:27:25

### Completed another [challenge](https://devchallenges.io/challenges/Jymh2b2FyebRTUljkNcb) from [Devchallenges.io](https://devchallenges.io/) using [Gatsby.js](https://www.gatsbyjs.com/), [Bootstrap](https://getbootstrap.com/) and [React Bootstrap](https://react-bootstrap.github.io/).

The craziest part was I couldn't figure out how to overlap the card on the image responsively and without breaking the layout. It took me several hours and not to mention a hell lot of Googling around to finally figure out the answer was "**negative margins**" 🙃

But I guess ya'll can relate? 🙃

![68747470733a2f2f63646e2e686173686e6f64652e636f6d2f7265732f686173686e6f64652f696d6167652f75706c6f61642f76313631303439333634313230332f7442316b36626b67732e706e67.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1610536864415/6Zbkb0uKF.png)

Check out the [Github Repo](https://github.com/rahi-khan/interior_consultant-devchallenges.io) and [Demo](https://interior-consultant69.netlify.app/)

---

### Also made an NPX business card for myself which you can find [here](https://github.com/rahi-khan/npx_card) and read more about it on my [previous blog](https://rahikhan.hashnode.dev/create-a-simple-npx-business-card) and create your own 😉

![demo.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1610360119791/rLM8MkTgG.gif)
Go กับ Java ใครเร็วกว่า (แบบ Native)
Tags: go, java, quarkus
Published: 2021-01-13 11:26:26

---
title: Go กับ Java ใครเร็วกว่า (แบบ Native)
published: true
description: 
tags: go, java,quarkus , 
//cover_image: https://direct_url_to_image.jpg
---

โดยส่วนตัวสงสัยมานานว่าระหว่างสองตัวนี้ใครเร็วกว่ากัน เนื่องจากเดิมทีผู้เขียนเป็นคนที่ใช้ภาษา Java มาอย่างยาวนาน ผ่านร้อนผ่านหนาวมาประมาณหนึ่ง ช่วงหลังๆ มาเริ่มได้ยินกิตติศัพท์ที่เลื่องลือของภาษา Go ที่ทาง Google ได้นำเสนอมาตลอด (รวมไปถึงน้องๆ Programmer ที่รู้จักกันอยู่บ้าง) ว่ามันช่างมีความรวดเร็ว และง่ายในการใช้งาน ก็เลยคันไม้คันมืออยากที่จะทดสอบซักหน่อย
บริบทของการทดสอบ

ในการทดสอบ ผู้เขียนใช้ Framework เพื่อเริ่มการทำงานในส่วนของ REST Microservice โดยภาษา Java จะใช้ Quarkus และ Go เราจะใช้ Gin
ในส่วนของการทดสอบเราจะใช้โปรแกรม wrk ทดสอบความสามารถในการรองรับ โดยใช้คำสั่ง

```
wrk -c1000 -d10 -t10 http://localhost:8080/ping
```

โดยสำหรับ URL : http://localhost:8080/ping เป็นคืนค่า JSON: { "message" : "pong" } กลับมา

ผลลัพท์ของทั้งสองโปรแกรมให้ดูดังนี้

1.ในส่วนของ Go
```
Running 10s test @ http://localhost:8080/ping
 10 threads and 1000 connections
 Thread Stats Avg Stdev Max +/- Stdev
 Latency 7.92ms 7.27ms 100.85ms 60.64%
 Req/Sec 3.06k 1.58k 7.97k 51.94%
 305741 requests in 10.10s, 41.11MB read
 Socket errors: connect 759, read 95, write 0, timeout 0
Requests/sec: 30259.64
Transfer/sec: 4.07MB
```

2.ส่วนข้างล่างเป็นของ Java
```
Running 10s test @ http://localhost:8080/ping
 10 threads and 1000 connections
 Thread Stats Avg Stdev Max +/- Stdev
 Latency 25.64ms 72.74ms 989.09ms 90.21%
 Req/Sec 4.75k 3.96k 27.19k 80.02%
 457231 requests in 10.07s, 43.17MB read
 Socket errors: connect 759, read 95, write 0, timeout 0
Requests/sec: 45404.83
Transfer/sec: 4.29MB
```
ก็ทดลองยิงอยู่หลายครั้งนะครับ ผลสรุปเท่าที่ทำการทดลองก็คือ Java จะรันค่อนข้างไวกว่า Go เยอะมาก (30Krps เทียบกับ 45Krps) อนึ่งการทดสอบนี้ผมใช้เครื่อง Macbook Pro 13" Quadcore 2.5Ghz Ram 16 ขนาดทดลองเปิดพัดลม Fullblast ตลอดเวลาครับ โดยผมทิ้ง Link ไปยัง Github ที่เก็บ Source code ดังนี้

1. Go : https://github.com/daftyw/go-rest
2. Java: https://github.com/daftyw/quarkus-reactive-rest

โดยส่วนตัวคิดว่าอาจจะเป็นเพราะ Framework ในส่วนของ Go นั้นยังทำมาไม่ไวพอ ถ้าใครมี Framework ที่เร็วๆ รบกวนช่วยแนะนำ หรือรู้วิธีปิด Log ใน Gin ช่วยทิ้งไว้ในคอมเมนท์ด้วยนะครับ

**แล้วพบกันใหม่ครับ สวัสดีครับ**

---

หลังจากได้ Feedback มาว่าให้ลองใช้ fasthttp ผมได้ลองทำการค้นคว้าเพิ่มแล้วลองทำดูได้ผลลัพท์ดังนี้ครับ

```
Running 10s test @ http://localhost:8080/ping
 10 threads and 1000 connections
 Thread Stats Avg Stdev Max +/- Stdev
 Latency 2.17ms 198.45us 10.97ms 80.12%
 Req/Sec 12.34k 4.13k 22.79k 75.44%
 1115359 requests in 10.10s, 153.17MB read
 Socket errors: connect 759, read 88, write 0, timeout 0
Requests/sec: 110399.21
Transfer/sec: 15.16MB
```

ดังนั้นถือว่าชัดเจนครับ 45K rps เจอ 110K rps 5555
แล้วก็อย่างเคยครับ ส่วนนี่คือ Repo ที่เก็บ Code Test: https://github.com/daftyw/go-rest2
New project - The Better Web Alliance
Tags: webdev, discuss
Published: 2021-01-13 11:19:00

The current discussion around website energy use and sustainability, alongside my own experiences of how little companies care about accessibility and digital privacy, has had me thinking about how all of us, as developers, can have a positive impact on the web. I feel a little that, while many of us are fighting this battle individually, it would be far better if we could all combine our forces together to make the web a better place.

My current attempt at that is to create a sort of manifesto for a better web, a set of guiding principles for building a better world wide web together. The current list of principles are 3:
- Respect the privacy of your users.
- Minimise your impact on infrastructure and the environment.
- Make your content accessible for all.

I’ve put up a simple website (https://www.better-web-alliance.net/) to try and raise awareness about this and to (hopefully) get other developers on board to discuss the actions that we can all take.

The website currently lists these principles, alongside a short piece of text on why they matter. It also aims to provide a list of articles and tools that cover improving performance, accessibility and privacy on websites

My main hope for this is to get all of us talking about the direction we would like the web to go in and what we can do as developers to help it get there. Nothing is set in stone and I'm expecting the project to evolve as more people hopefully get involved and express their opinions.

Any feedback from anyone would be most appreciated; is this the right way to go about doing things? are there other areas I've missed that you think are important? are there trade-offs to making the kind of changes I'm suggesting? are there some other fantastic resources that you would like added to the site?

Hopefully this provides some food for thought.