teleren/devto huggingface dataset:
Imposter Syndrome In Software Engineering
Published: 2022-09-15 12:02:36

Imposter Syndrome is something that the majority of us have dealt with at one point or another, and if you haven't dealt with this yet you're bound to have this feeling at one point or another.

## Causes

Imposter Syndrome is very relevant and real in any field of study, but to me at least I feel as though it is more relevant in any type of tech related field especially Software Engineering. One of the main causes Engineers feel this way is because Software Engineering is a fast moving industry, with brand new technologies introduced every day, it is physically and mentally impossible to learn every single framework or language there is out there. Another reason imposter syndrome is so relevant today in Software Engineering is because there is a misconception in this industry that you have to be super smart, like Steve Jobs, Bill Gates, or Elon Musk kind of smart, but you don't have to be that at all.


## Managing Imposter Syndrome

If you came here looking for a fix for imposter syndrome I am afraid I cannot give that answer to you, because it is something that will always stick with you. There is always going to be someone smarter than you no matter what, unless you are the upper echelon of Engineers. One of the most important things to remember, as Software Engineers it isn't always important to know the most things or be the smartest in the room, it's easier and much more important in our industry to have the ability to learn a new language or framework very quickly, and to have very good problem solving skills.
How To Hide Featured image In WordPress Post
Tags: wordpress
Published: 2022-09-15 11:44:18

Most of modern WordPress themes will have the option to show the featured images on WordPress posts. 

But if you are willing to **_[hide the featured image on the WordPress post](https://multifoxtheme.com/how-to-hide-featured-image-in-wordpress-post/)_**, this article will help you do it.

A simple method to hide the featured image in a single WordPress Post

The best method is to use the hide featured image WordPress plugin to manage efficiently. 
Follow the below steps, step by step, to hide the featured image in a single WordPress post.

Step 1: Log in to the WordPress dashboard and click the plugins from the left side. 

Step 2: Click Add New and search for “conditionally,” then click the Install Now button from the first shown result.

Step 3: Once installed then, activate it. Then click the posts option from the left side of the WordPress dashboard. 

How to remove a featured image on a single WordPress post?

Follow the below steps, to remove the featured image in an individual WordPress post
Step 1: Log in to the WordPress dashboard and click the plugins from the left side. 

Step 2: Then click the posts option from the left side of the WordPress dashboard. 

How to hide featured images on the WordPress blog archives page and category pages?

If you want to hide featured images on category pages or on the archives pages, follow these steps below. 

Step 1: Log in to the WordPress dashboard and navigate to Appearance from the left side. Then click the customize option.

Step 2: On the WordPress customizer, navigate to the blog settings (Sometimes customization may differ based on the theme you are using, we recommend using Multifox theme)

Step 3: On the blog setting and click the blog archives.



What is WordPress's Featured Image?

The blog post thumbnails are referred to as featured images. It works in the same way as the youtube video thumbnail works. The purpose of the WordPress featured image is to define that blog post and pages. 

It also acts as a supportive visual to your content, and also sometimes it helps to simply explain the content. 

Benefits of Having WordPress Featured Image?
Most times, having a featured image on WordPress blogs and pages doesn’t negatively impact the website. Here are some essential reasons why you need to add featured images on WordPress blogs and pages. 
Read More : https://multifoxtheme.com/how-to-hide-featured-image-in-wordpress-post/
Find number of `bulb` occurrences from a given string
Tags: python, interview, question, career
Published: 2022-09-15 11:37:41

Question:
A string contains bulb string along with others, sometime, it is the continuous one like `bulbulb`. Find the number of occurrences of `bulb`.

Ex:
Given: "f<u>bulb</u>hdskjfhdsk<u>bulb</u>dsfkjdshfdsk<u>bulbulb</u>dsfsdfds"
Expected: 4

Solution:

```python
count = 0
for i, c in enumerate(bulb_str):
  if c == "b" and (bulb_str[i:i+4]) == "bulb":
      count += 1
print(count)           
```
[Python]Keep MS Teams status active
Tags: python, tutorial, teams, microsoftteams
Published: 2022-09-15 11:36:44

Microsoft Teams will auto-offline without action from your mouse and keyboard for a while. So we can use Python to control the mouse and keyboard to keep moving.
Clicknium is a Python Library that can control your mouse and keyboard. 
 
## install 
`pip install clicknium
`
## Python script
```python
from time import sleep
import math
from clicknium import clicknium as cc
def circle():
    a,b = cc.mouse.position()
    w = 20  
    m = (2*math.pi)/w 
    r = 200      

    while 1:    
        for i in range(0, w+1):
            x = int(a+r*math.sin(m*i))  
            y = int(b+r*math.cos(m*i))
            cc.mouse.move(x,y)
            sleep(0.2)

if __name__ == "__main__":
    circle()
```
The above code will keep moving your mouse along a circle. You can stop it by `Ctrl+C.

There are a lot of things that you can use Clicknium to achieve and it is quite easy. It can control the mouse and keyboard, automate desktop applications and web browsers. Follow the [Clicknium quick start](https://www.clicknium.com/documents/) and turn your routine work into an automation workflow.
Laravel How to Pass a PHP Variable to JavaScript
Tags: programming, php, webdev, laravel
Published: 2022-09-20 02:17:01

---
title: Laravel How to Pass a PHP Variable to JavaScript
published: true
date: 2022-09-15 11:26:21 UTC
tags: programming,php,webdevelopment,laravel
canonical_url: https://blog.devgenius.io/laravel-how-to-pass-a-php-variable-to-javascript-ee7b17265b6d
---

[![](https://cdn-images-1.medium.com/max/2600/0*vlbdSSaJDdT6F-X2)](https://blog.devgenius.io/laravel-how-to-pass-a-php-variable-to-javascript-ee7b17265b6d?source=rss-17217f29618a------2)

Transform PHP Vars to JavaScript

[Continue reading on Dev Genius »](https://blog.devgenius.io/laravel-how-to-pass-a-php-variable-to-javascript-ee7b17265b6d?source=rss-17217f29618a------2)
"TestClub" YouTube channel. Why should you care?
Tags: programming, tdd, beginners, tutorial
Published: 2022-09-15 11:15:10

Did you know why my channel is called "TestClub"?

I always was fascinated by the software and I spent large chunk of my career as Tester, trying to nail down what is the most reliable way to produce quality software.

What I found is that one particular technique works extremely well for me - developing through testing. And thus I moved from self-taught tester to SDET and finally to software development.

On my channel I help programmers and wonna-be programmers who are not sure if their theoretical foundation is solid enough to learn the best way I know to build a career of their dream by demystifying software development and explaining complex things in simple words.

If it sounds interesting feel free to follow me or subscribe to my YouTube channel here https://www.youtube.com/c/TestClubRU
The Beginning of GSoC’22 Journey with SCoRe Lab
Tags: gsoc
Published: 2022-09-15 11:10:19



Hi! I am Thanda Mahender Goud, pursuing a Bachelor of Technology with a Major in Computer Science at Keshav Memorial Institute of Technology, India.


The Google Summer of code…

Getting into the GSoC will be a dream for many undergrad students. It all started at the conclusion of my second year, when I was a novice👾 to the College as a diploma student who had just jumped into B.Tech 2nd year. It was time to decide how to get started with competitive coding, development, and whatever else.


After much thought and research🧐, I began both competitive coding and development at the same time, which caused a great deal of confusion. After I had a good understanding of the GSoC programme and everything, I was ready to work on it, and my college assisted me in this by offering guidance to get into GSoC, KMIT — which is one of the best colleges for computer science in Hyderabad. By staying at college after courses, I used to work on the previous year's GSoC projects from SCoReLab.


And it’s 2022, I was eagerly awaiting the GSoC application until then I contributed to various projects in SCoReLab and finally, in the month of April GSoC contributors application has begun, I started contacting all the people at org and I’d like to thank them🙌 for being so informative during the time, after taking all necessary tips from everyone I submitted my proposal and waiting for the results.


struggle is real.
May 20, 2022.

I had almost given up hope because it was now 11:30 p.m. and there had been no communication from GSoC, nor had the website been updated. After a few minutes, BOOM…! an email congratulating me on being selected for GSoC ’22 at SCoReLab. I rushed to the website and was happy ;-)to see my name there. That why “NEVER GIVE UP” 😁.

During this Summer, I will be working on React-JS in order to develop a Web platform called CodeLabz using ReactJS, Material-UI, Google Cloud Firestore and Google Firebase Real-Time database.

CodeLabz is a platform where the users can engage with online tutorials and the organizations can create tutorials for the users.

The purpose of this project is to improve the user interface and the codebase’s infrastructure. Insider page design, npm scripts, solid project documentation, reusable components, and material UI in the codebase are all to be completed during this time period.



## Week-0: Community Bonding Period

After the results were published, the community bonding period began, and I had good communication with my mates at codelabz this year, which lasted until June 12th. During this time, I learned a lot about Open-Source Communities, Projects, and other technologies. I contacted my mentor, who advised me on how to proceed and what to create for this website. The Figma Designs were reviewed by the mentor. I was given a task to complete, and I am already working on it. In these ten weeks, I hope to gain the greatest knowledge, meet some like-minded people, confront new challenges and explore their answers.

That’s all for now. I’ll keep you updated on the way. See you in the future post.
Add Flutter View to Native iOS App
Tags: ios, programming, swift, flutter
Published: 2022-09-15 10:59:17



Wanna learn how you can integrate your [flutter](https://blog.canopas.com/add-flutter-view-to-native-android-application-3747edb83e62) project as a library or module to your existing native iOS app?

With the add-to-app feature, we can achieve it and do more!

When you want to implement any feature in both of your native apps in a short time, you can develop that feature using Flutter and integrate it into both of your apps.

You can create a single view in Flutter and then use it on both platforms as a separate module.

You can check out the official docs if you’re not familiar with the concept.

Today, we’re going to implement a simple demo application in iOS that has two Flutter pages. On the first page, we’ll show a list of users and the second screen will display the user details.

We’ll embed the flutter module in our native iOS application as a package Library.

I have divided the article into 4 logical steps to make understanding easier.
Create Flutter module
Generate iOS Framework from the module
Integrate & Embed framework into the native app
Open flutter view as UIViewController

For implementation detail, check out [our blog](https://blog.canopas.com/add-flutter-view-to-native-ios-app-f5ccab049339).
Simple, reliable, fast (in that order)
Tags: programming, productivity, webdev, watercooler
Published: 2022-09-15 10:43:15

If I had to summarize my approach to software development in three words, the words "simple, reliable, fast" come to mind.

This phrase is my variation of Drew DeValut's "Simple, correct, fast: in that order" phrase. While "correct" is definitely a relevant word here, I think "robust" and "reliable" are more relevant.

So, let's try to first define the words "correctness", "robustness" and "reliability".

I'll use Matthew Wilson's definitions (from his "Quality Matters: Correctness, Robustness and Reliability" article), because I think they make the most sense in this context:

- Correctness: The degree to which a software entity's behavior matches its specification.
- Robustness: The adjudged ability of a software entity to behave according to the expectations of its stakeholders.
- Reliability: The degree to which a software system behaves robustly over time.

While all three words are relevant in this context, in the practical sense robustness is more relevant than correctness, and reliability implies robustness over time.

The question is - how do we achieve these characteristics, and more importantly, how do we maintain them in the long term? Obviously, these characteristics are important for all software projects, but the vast majority of them end up having almost the opposite characteristics.

So, why do so many software projects fail in that regard? Complexity has a lot to do with it.

Complexity kills, and it's extremely easy to introduce additional complexity on every step of the way.

## Simplicity first

"Simplicity is a great virtue but it requires hard work to achieve it and education to appreciate it. And to make matters worse: complexity sells better." (Edsger W. Dijkstra)

Simplicity-first approach definitely requires a lot of hard work, but it's almost a prerequisite for these characteristics:

  - robustness and reliability ("Simplicity is prerequisite for reliability" - Dijkstra)
  - performance (simple code is much easier to profile and optimize)
  - composability (try to make your design composable - when you have a complex problem, try to split it into smaller, simpler composable parts)

On the other hand, with more complex/intertwined solutions, even if you manage to temporary achieve those characteristics, it will be extremely hard (or impossible) to maintain them in the long term.
        
<hr><small>
Note: This is a snapshot of the wiki page from the <a href="https://betterways.dev">BetterWays.dev wiki</a>, you can find the latest (better formatted) version here: <a href="https://betterways.dev/simple-reliable-fast">betterways.dev/simple-reliable-fast</a>.
</small>
gsql client connects to openGauss
Published: 2022-09-15 10:16:06

openGauss is a world-leading enterprise-level open source relational database jointly built with partners, providing extreme multi-core performance, full-link business and data security, AI-based tuning and efficient operation and maintenance capabilities. openGauss is comprehensive, friendly and open. It is issued under the Mulan Permissive License v2. It deeply integrates Huawei's years of R&D experience in the database field, and combines the needs of enterprise-level scenarios to continuously build competitive features.

gsql client connection – determine connection information

Client tools connect to the database through the database master node. Therefore, before connecting, you need to obtain the IP address of the server where the database master node is located and the port number of the database master node. 



⚫ Step 1: Log in to the master node of the database as the operating system user omm. 



⚫ Step 2: Use the "gs_om -t status --detail" command to query the status of each instance of openGauss.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rdzdp7c0ycuwe95r8pls.png)
The IP addresses of the servers where the database master node instance is deployed as above are 192.168.10.11 respectively, and the data path of the database master node is "/srv/BigData/gaussdb/data1/dbnode".



⚫ Step 3: Confirm the port number of the database master node. Check the port number information in the postgresql.conf file under the data path of the database master node found in step 2. An example is as follows:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l6bltpfp1j40gld5kg46.png)
React Hooks for Web3 Ethereum Developers
Tags: programming, web3, blockchain, react
Published: 2022-09-15 10:02:00

Hooks to connect wallet, cache the data, avoid duplication, interact with Contracts.

[Youtube short](https://youtube.com/shorts/DVu6B1y7aNA)

## Web3 is growing rapidly
I am talking about [Wagmi](wagmi.sh) the collection of react hooks for Ethereum.

This library has 280K downloads per month but only one 3K github stars. Just one line of installation code.

```
yarn add wagmi ethers
```

## Features
- 20+ hooks of collection for working with wallets, ENS, contracts, transactions, signing, etc.
- Connect it to the existing wallets. 
- Provide built-in wallet connectors such as Coinbase, Metamask etc.
- Caching and request deduplication just like React Query
- Auto refresh data when network changes or accounts.
- Typescript support

This sounds good because when I started web3, I have to add these things manually mostly and have to develop these hooks on our own.

But this collection of hooks will certainly help a lot to the developers.

## Installation
- Just one of the codes to install the package and its dependency.
- Create the client using providers and chain networks.
- Pass the client to the Wagmi Provider and wrap the provider with the root of the application just like Redux and third-party libraries.

## Client
Manage wallet connection states such as auto-connection, ethers providers and connectors.

## WagmiConfig
You can consider it as the Provider. It uses React Context to manage all the hooks configurations together.

Meaning letting all the hooks have the same centralised data or client configurations.

## Providers
Add compatibility with different chains such as Infura, and Alchemy.

## Connectors
Provide Injectors to support the wallet by providing an Ethereum provider in the browser. Helps to easily provide wallet connectivity in your application such as Metamask, Coinbase etc.

## Hooks
The reusable functions provide all the features that wagmi supports out of the box to ease the development process.

Such as useAccount hook helps to get the connected user account details such as an address, balance and so on.

## Competitors
[Web-3-react](https://github.com/Uniswap/web3-react)

[useDapp](https://github.com/TrueFiEng/useDApp)

[Web3Modal](https://github.com/WalletConnect/web3modal)

## Conclusion
I will cover another story with an in-depth understanding of the hooks provided by it.

Until next time, have a good day.

Keep developing
Shrey
[iHateReading](ihatereading.in)
AI And Machine Learning Masters Program
Tags: ai
Published: 2022-09-15 09:55:58

Our [AI and Machine Learning](https://www.sprintzeal.com/course/artificial-intelligence-certification-training) Masters Program offers high-quality education from industry experts with interactive learning methods. This includes online training videos, live virtual classes, and interactive sessions with AI industry experts. Plus, candidates are provided exclusive access to practice tests, hands-on industry projects, hackathons, and lab projects.

Sprintzeal's AI and Machine Learning Masters Program training covers hands-on projects, practicals, and access to hackathons, learning accessible to Python, Keras, Django, Tensor Flow, Flask, Amazon Sage Maker, NLTK, Alexa, OpenAI Gym. AI and Machin and access to hackathons, learning accessible to Python, Keras, Django, Tensor Flow, Flask, Amazon Sage Maker, NLTK, Alexa, OpenAI Gym.
Prerequisites and operation steps for single-node installation of openGauss
Published: 2022-09-15 09:45:26

Preconditions: 

The creation of user groups and ordinary users has been completed. 
All server operating systems and networks are up and running. 
Ordinary users must have read, write, and execute permissions for the database package decompression path and installation path, and the installation path must be empty.
Ordinary users have execution rights to the downloaded openGauss compressed package. 

Before installation, please check whether the specified openGauss port is occupied. If it is occupied, please change the port or stop the current process of using the port.


Steps: 

Step 1: Log in to the host where the openGauss package is installed as a common user, and decompress the openGauss package to the installation directory. 

`tar -jxf openGauss-xxx-openEuler-64bit.tar.bz2 -C /opt/software/openGauss`

Step 2: Assuming that the path of the decompressed package is /opt/software/openGauss, enter simpleInstall in the decompressed directory. 

`cd /opt/software/openGauss/simpleInstall`

Step 3: Execute the install.sh script to install openGauss. 

`sh install.sh -w xxxx`

Step 4: After the installation is completed, use ps and gs_ctl to check whether the process is normal. 

Execute the ps command and display information similar to the following:

`>> ps ux | grep gaussdb 

omm 24209 11.9 1.0 1852000 355816 pts/0 Sl 01:54 0:33   /opt/software/openGauss/bin/gaussdb -D /opt/software/openGauss/single_node 

omm 20377 0.0 0.0 119880 1216 pts/0 S+ 15:37 0:00 grep --color=auto gaussdb`

Execute the gs_ctl command to display information similar to the following:

`>> gs_ctl query -D /opt/software/openGauss/data/single_node 

gs_ctl query ,datadir is /opt/software/openGauss/data/single_node 

HA state: 

 local_role : Normal 

 static_connections : 0 

 db_state : Normal 

 detail_information : Normal 

 Senders info: 

     No information 

 Receiver info: 

     No information`
CRUD Repository with Hibernate Reactive and Eclipse Vertx
Tags: java, cloud, microservices, architecture
Published: 2022-09-15 09:54:36

---
title: CRUD Repository with Hibernate Reactive and Eclipse Vertx
published: true
description: 
tags: java, cloud, microservices, architecture
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
---

{% embed https://youtu.be/VkNcdEJRlwc %}

This video continues the topic of development Vertx applications that make use of the Hibernate Reactive ORM library. 

In this Part 2 of the tutorial we will explore how to implement a CRUD repository with the aforesaid tech stack. Additionally, we will introduce the TestContainers library that simplifies the process of writing integration tests.