teleren/devto huggingface dataset:
Fearless In The Face Of My Ignorance
Tags: discuss, career
Published: 2021-08-11 06:08:50

---
title: Fearless In The Face Of My Ignorance
published: true
description: how do you overcome the fear in the vulnerability of asking for help
tags: #discuss #career 
cover_image: 
---
*I know so much more than I did when I started working as a software developer five years ago, but I seem to have forgotten something: How to remain fearless in the face of my ignorance.*

When I started working in software development I got all the advice that we give junior devs - several small PRs are better than one big one, composition over inheritance, write your tests first (or at least concurrently) to your logic, coffee is good but adequate sleep is better. The top thing I heard? **Don't be afraid to ask questions**. This one puzzled me because I wasn't afraid to ask questions. I was new after all and so of course I didn't know what I was doing. Of course I would be asking a lot of questions.

Five years later and I can't in good faith call myself new at this anymore - I'm the one reminding the junior engineers to get enough sleep! I've been an Android developer for five years, adding in React Native and iOS for the past three. I am competent & comfortable with Java and Kotlin. I've grown to really love Typescript. I know enough Swift to be effective and enough Obj-C to get by. I am passionate about mobile tech and can talk your ear off about Native Modules and the React Native Bridge. But I seem to have forgotten how to remain unafraid of asking questions.

Somewhere along the way I became afraid of saying, "I need help". Somewhere along the way I started avoiding saying, "I don't know". Somehow I got it in my head that I should know it all by now. That I will go to say the words "I need help" and it will come out sounding like "I am not smart enough to be a developer". That I will try to say "I don't know" and everyone will hear "I am incompetent".

So I am choosing to stand fearlessly in the face of my ignorance, and to ask for help. How do you, especially the mid-level and up engineers, keep asking for help? How do you handle the pang of panic when you know you used to know this and now you don't? How do you silence the voice that says you are not good enough? How do you move forward when you can't?
Tube & Pipe Bending Machines in UAE
Tags: tubeandpipe, machines, productivity
Published: 2021-08-11 05:34:40

Ercolina created, manufactured, and patented this small yet powerful machine, which is entirely made in Italy. It's a one-of-a-kind product that packs a lot of punch into a small package at a reasonable price. It is easy to transport and move, and it can also be utilized without electricity, making it perfect for off-site work. Ercolina machines never let you down!
Tube & Pipe Bending Machine in UAE is a compact pipe bending
machine that provides high-quality service and is suitable for all types of pipe and profiles. It is a sturdy and well-performing machine constructed entirely of steel and fully in Italy. This machine is extremely simple to operate thanks to its new software technology called "Digital Bend Programming Touch Screen": this software was specifically developed for Pipe Bending applications and allows for the selection of up to 99 programmes, each with a 5-stop sequence in the bending operation. This machine also has the option of using hydraulic or pneumatic clamps and mandrels, as well as a positioning system.
Features:
• Extremely powerful.
• Design with a small footprint.
• When there is no access to electricity, this device comes in 
  handy.
• The machine is completely hydraulic.
• With just one stride, it reaches a bending angle of 210°.
• There are no electronic controls.
• Ercolina created a patented invention.
High performance in a small package at an inexpensive price. Ercolina designed, developed, and patented the product entirely in Italy. Due to its weight-to-dimensions ratio and affordable pricing, it is a one-of-a-kind equipment. It is portable and may be operated without electricity. It's perfect for working outside of the factory. Ercolina machines never let you down!
Creating a chat application on Flutter using Applozic
Tags: flutter, applozic, chatsdk, chatapi
Published: 2021-08-11 05:21:50

Applozic is an amazing platform to create high-quality chat applications that boost your mobile application development.

This service makes the development of chat applications a hassle-free experience by not compromising on the quality and features of the application.

## Creating a project

#### Create a new Flutter project
You could use any Flutter starter kit to generate the scaffold of the project, but for simplicity purposes let’s use the standard Flutter create.

At the time of writing this tutorial, these are the latest Flutter and tooling versions:
`
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 2.3.0-24.1.pre, on macOS 11.4 20F71 darwin-x64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.3)
[✓] VS Code (version 1.57.1)
[✓] Connected device (3 available)
`
Let’s create our bare-bones project by running the following command:
```
flutter create applozic_example
```

####Installing required dependencies
We would be needing applozic_flutter: ^0.0.4 and flutter_login: ^2.1.0 for the tutorial. To develop your chat application for Flutter and various other frameworks, register for a free trial of Applozic’s chat API.

We use applozic_flutter for the core functionality of the application and flutter_login to scaffold the UI of the login screen quickly.

Please note that the applozic_flutter library hasn’t been migrated to null safety yet, so we cannot build with sound null safety.

```
name: applozic_example
description: A new Flutter project.

publish_to: "none"

version: 1.0.0+1

environment:
  sdk: ">=2.12.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter

  cupertino_icons: ^1.0.2
  applozic_flutter: ^0.0.4
  flutter_login: ^2.1.0

dev_dependencies:
  flutter_test:
    sdk: flutter

  flutter_lints: ^1.0.0

flutter:
  uses-material-design: true
```

####Applozic side
Now you could head over to Applozic Console and create a new application.

Once you have created a new application you will have the Application ID you will be needing that.

## Integration
Now once we set up everything, we now have the Application ID of the app.

Let’s save our Application ID in a new file, let’s say config.dart
```
const String appID = 'Your App ID';
```
We will need the appID during the authentication part.


For further steps on Authentication, setting up login page, and to know how to use several other functionalities, please check out [this page](https://www.applozic.com/blog/creating-a-chat-application-on-flutter-using-applozic/).

To check out more such blogs please read on [Applozic's Blog Page](https://www.applozic.com/blog/)

Thank you
[Infographic] 2021’s Continuous Testing Navigator | Your Path to Maturity
Tags: cicd, devops, continuostesting
Published: 2021-08-11 04:57:54

---
title: [Infographic] 2021’s Continuous Testing Navigator | Your Path to Maturity
published: true
tags: CICD, DevOps, ContinuosTesting
canonical_url: https://www.katalon.com/resources-center/blog/continuous-testing-navigator-2021-infographic/
---
>**Due date: 23:59 p.m Oct 25th, 2021**
>**The State of Quality Report 2021**
>_Wouldn’t it be great to know how peers and experts are staying ahead of their quality assurance game? That’s why we're creating The State of Quality Report 2021 to collect the best QA practices from you, professionals of all levels.
We are happy to offer **the first 100 respondents a $30 Amazon gift card**, along with the final report from the survey results. [Raise your voice!](https://www.research.net/r/medium-devto)_

This May, Katalon is excited to announce the release of the [**Continuous Testing Navigator for 2021**](https://www.katalon.com/2021-continuous-testing-navigator/) white paper.

Aiming to provide a continuous testing benchmark for testing communities to self-assess their performance, responses were consolidated from a survey of **2,500+** testing teams worldwide in regards to the greatest challenges faced, solutions needed, and more!

Here are some of the key results from our survey.

## **Respondents’ Background Information**

![Respondent’s background information_2](https://d1h3p5fzmizjvp.cloudfront.net/wp-content/uploads/2021/05/Respondent%E2%80%99s-background-information_2.png)

## **The Continuous Testing Maturity Model**

![The Continuous Testing Maturity Model_updated](https://d1h3p5fzmizjvp.cloudfront.net/wp-content/uploads/2021/05/The-Continuous-Testing-Maturity-Model_updated.png)

Would like to learn more about the continuous testing upcoming trends?

[![Download Free Whitepaper](https://d1h3p5fzmizjvp.cloudfront.net/wp-content/uploads/2021/05/Download-Free-Whitepaper-button-e1620732582390.png)](https://www.katalon.com/2021-continuous-testing-navigator/)


The post [[Infographic] 2021’s Continuous Testing Navigator | Your Path to Maturity](https://www.katalon.com/resources-center/blog/continuous-testing-navigator-2021-infographic/) appeared first on [Katalon Solution](https://www.katalon.com).
Effective Java: Use Checked Exceptions for Recoverable Conditions
Tags: java, effective, exceptions, architecture
Published: 2021-08-11 03:20:51

---
title: Effective Java: Use Checked Exceptions for Recoverable Conditions
published: true
description: A dive into chapter 70 of Effective Java
tags: java, effective, exceptions, architecture
series: Effective Java Review
canonical_url: https://blog.scaledcode.com/blog/effective-java/use_checked_for_recoverable/
---

This chapter takes on describing when which type of `Throwable`s should be thrown. The two main `Throwable` types we mostly interact with are checked and unchecked exceptions. The major difference between the two being that checked exceptions are part of method signatures which forces the caller to handle the checked in some way (either catching the exception or passing the exception up the call stack). The question is, when should you use which exception type. 

_Effective Java_ suggests the use cases break down as the following. If an exception is recoverable you should use a checked exception and if it isn't reasonable to assume that someone could recover from an exception you should use an unchecked exception. I actually wouldn't agree with this. I believe that checked exceptions lead to harder to read code with almost no benefits. It is for this reason that I never write checked exceptions. While the concept of using a checked exception to force the caller of your API to try to recover from an exception makes sense it doesn't seem worth it to me. 

There is one type of `Throwable` we skipped over, that is `Error`s. The reason for this is because you almost should never interact with `Error`s. By a widely accepted convention `Error`s are reserved for the JVM to throw when something truly unrecoverable happens. This means you should never catch them (or `Throwable`, its superclass) or throw them outside of `AssertionError`. This extends to extending directly from the `Throwable` base class. This would be handled like a checked exception however it is not a thing that should be done, either extend from `Exception` or `RuntimeException`.

The final thing to keep in mind is that exceptions are just regular classes. Because of this, you can add arbitrary data as well as methods to your exceptions classes. This can be extremely useful when you want to pass additional information about the exception or state of the object throwing the exception. You never want to force a handler of your exception to try to parse the exception message to get the required information when handling an exception.

While there may be some disagreement about when checked and unchecked exceptions should be used, having consistency throughout your code is critical and will lead to much more maintainable code.
Difference null-safety in java and kotlin 

Published: 2021-08-11 04:33:06

 The kotlin is <b>null-safety</b> unlike java
In the java the codes in  compile time they are null .So that's why may occur<b>NullPointerException</b>.
For example: when  defined a variable. the variable may be null 
To avoid being <b>null</b> variable. 
We have to use <b>@NotNull</b>.and then variable is safe.
In the kotlin by default all of thing is <b>not null</b>.
When defining a variable, we can define the initial value in <b>Nullable</b>.
Before compiling because IDE Is smart, checks Nullable
Best Wordpress Course
Published: 2021-08-11 04:31:53

WordPress is one of the easiest ways to create a website. It’s also one of the most important tools for web designers and web developers. If you know WordPress, you can work on different kinds of companies like startups and even multi-national. WordPress also allows you to do a lot of freelancing work.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j6h27d2pr4l9sgtrrfqw.JPG)

##My Favorite WordPress Online Courses to learn in 2021

###WordPress for Beginners — Master WordPress Quickly
This is simply the best course to learn WordPress on Udemy. Created by Andrew Williams, this is a complete course that will make you be able to master WordPress features.

###WordPress for Beginners: Create Your Own WordPress Website

This is another great WordPress course on Udemy. Created by Phil EbinerI, one of the most popular and also my favorite Udemy instructors this course is meant for people who want to build a website for their business, hobby, or personal life. It’s very hands-on and you will create a fully functional website along the way.
Getting a substring in Dart
Tags: flutter, dart
Published: 2021-08-11 04:01:03

I was trying to figure out the most efficient way to trim or shorten a String in Dart(more speficially for a Flutter project) yesterday. There's actually a couple of different ways to do it.

## The `substring` method

The first and most typical one is using the [substring](https://api.flutter.dev/flutter/dart-core/String/substring.html) method. The use case is pretty simple, you call `substring` on your string and specify a start and end index:

```dart
final name = "developermemos";
final portion = name.substring(0, 9); // developer
```

While it's easy to understand it wasn't great for my use case because I just wanted to shorten an existing string, and if you specify an end index that your string doesn't contain(for example 20 for the above case hypothetically) you will get a `RangeError`.

## The characters approach

What I wanted to do was get the first x characters for a string that could potentially have a length of anything above 0. I found out that the easiest approach for this case is to use `.characters.take` on the string, here's an example:

```dart
final name = "developermemos";
final portion = name.characters.take(9).toString(); // developer
```

The good thing about this approach is that you won't get a `RangeError` like you would with `substring` if you specify an index that is too high, it will just return the entire string instead:

```dart
final name = "developermemos";
final portion = name.characters.take(30).toString(); // developermemos
```

This was perfect for my particular use case. The only caveat is that it seems like while the above will work without any imports in Flutter, if you are using plain Dart you need to add and import the [characters package](https://pub.dev/packages/characters).

## Bonus: The takeLast method

There's also another method called `takeLast` that does pretty much the same thing as `take` but in reverse, it will take the last x characters from a string. If you use a count that is higher than the length of the string itself it will just return the entire string. Here's a quick example:

```dart
final name = "developermemos";
final portion = name.characters.takeLast(5).toString(); // memos
```
My book on Rust is available on Amazon!
Tags: rust
Published: 2021-08-11 03:57:38

---
title: My book on Rust is available on Amazon!
published: true
description: Rust in Action is printed and ready to buy 
tags: rust
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eqbs2k4ue48w6cr23s4i.jpg
---

It may seem like a small milestone, but I'm really happy to share that my book, Rust in Action, is being sent around the world from Amazon.

https://smile.amazon.com/Rust-Action-Tim-McNamara/dp/1617294551/

I also spent some time creating a website for the book last night:

https://www.rustinaction.com/

The source code for the book's examples is available here:

 {% github rust-in-action/code %}
Ideas with source sets
Tags: ideas, sources
Published: 2021-08-11 03:24:28

1. Do bills introduced in the house/senate get more radical as time goes by?

2. Prediction of the next bill or set of bills which would be introduced in the house by an elected representative ? Thematic predictability

3. House or the senate as a predictor for what can predict the direction of the state.

4. Bills being signed into law vs being vetoed. Time, duration the bill spent on the floor, roll-call etc..

Sources : 
[ MO Legislation 2021 - Special Session] (https://legiscan.com/MO/legislation/2021/X1)

[MO Legislation 2021 - Regular Session]
(https://legiscan.com/MO/legislation/2021)
How To Add Bootstrap Modal In Laravel
Tags: laravel, php, css, webdev
Published: 2021-08-11 03:21:49

Today I will show you how to add bootstrap modal in Laravel. Modals are built with HTML, CSS, and JavaScript. many times we need to set confirmation on alert box using java script but now bootstrap provide us facilities like bootstrap modal, it is very simple to use.

For  bootstrap modal in just you need to add latest javascript CDN and bootstrap CDN, some other JS. So, Add below code in your PHP or Laravel blade file and get output.

> Bootstrap Modal Methods

Activates your content as a modal. 

```
$('#demoModal').modal({
  keyboard: false
})
```

Manually toggles a modal. using this method you can toggle modal manually like below code.

```
$('#demoModal').modal('toggle')
```

Manually opens a modal. using hide/show method you can manually show modal like below code.

```
$('#demoModal').modal('show')
$('#demoModal').modal('hide')
```

---

> **_[Read More : How To Add Bootstrap Modal In Laravel](https://www.techsolutionstuff.com/post/how-to-add-bootstrap-modal-in-laravel)_**

---

you will get output like below screen shot.

![How To Add Bootstrap Modal In Laravel](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y3bn2v0lhxqzm5xwqp88.png)

---

You May Also Like To Read :

1. **_[Read More : How To Delete Multiple Records Using Checkbox In Laravel](https://www.techsolutionstuff.com/post/how-to-delete-multiple-records-using-checkbox-in-laravel)_**

2. **_[Read More : Laravel 6 CRUD Tutorial with Example
](https://techsolutionstuff.com/post/laravel-6-crud-tutorial-with-example)_**

Thank you for reading.
CÔNG TY TNHH LEVU.VN
Published: 2021-08-11 03:18:13

CÔNG TY TNHH LEVU.VN là đơn vị tiên phong trong việc cải tiến nâng cấp các sản phẩm vật liệu ngành xây dựng hiện đại xu hướng mới song song với việc áp dụng cải tiến không ngừng trong dịch vụ chăm sóc khách hàng nhằm mang đến cho bạn những sản phẩm chất lượng và trải nghiệm về sự chuyên nghiệp. Từ đó hình thành nên mối quan hệ bền vững và các giá trị lâu dài với khách hàng.

Đặt phương châm “Uy tín là điều kiện Tiên Quyết để Tồn Tại”. LEVU.VN luôn sẵn sàng lắng nghe Bạn để không ngừng nỗ lực cải thiện tốt hơn với mong muốn cuối cùng là mang đến cho mọi khách hàng những sản phẩm chất lượng, dịch vụ chu đáo, chi phí tối ưu.

Những công trình bền vững của Bạn, sự hài lòng của Bạn, niềm tin của Bạn luôn được LEVU.VN tôn trọng và giữ gìn như một tài sản Vô Giá.

Với hơn 9 năm kinh nghiệm thương mại và dự án trong lĩnh vực cung cấp vật tư nhà kính, vật liệu nhựa công nghiệp, vật tư ngành quảng cáo, nội ngoại thất và xây dựng, chúng tôi luôn tự tin có thể đáp ứng mọi nhu cầu của bạn một cách hiệu quả nhanh chóng.
Angular Testing Succinctly - Free Ebook
Tags: angular, testing, books, webdev
Published: 2021-08-11 03:15:02

OVERVIEW

Though sometimes perceived as a hurdle, testing can save developers from heartbreak in the long run. In Angular Testing Succinctly, author Joseph D. Booth provides a quick introduction to different tools and approaches to testing Angular projects to make them higher quality from the start and easier to maintain down the road. Topics covered include lint checking, test-driven development, unit testing, and end-to-end testing. Tools covered include TSLint, ESLint, SonarLint, Karma, Jasmine, Protractor, and Cucumber.

 

TABLE OF CONTENTS

- Introduction
- Lint Checking
- Other Linters
- Test-Driven Development
- Angular CLI
- Sample Application
- Unit Testing
- E2E Testing with Jasmine
- E2E Testing with Cucumber
- Planning E2E
- Summary

**Author**

Joseph D. Booth

 

https://www.syncfusion.com/succinctly-free-ebooks/angular-testing-succinctly
How to deploy a react application with docker in 6 steps
Tags: react, docker, nginx, deploy
Published: 2021-08-11 03:10:18

### 1. DockerFile of Frontend

if your **environment variable** is for example 
http://localhost:8000/api put only **/api**

```docker
FROM node:14

WORKDIR /app

COPY . /app

ENV REACT_APP_REST=/api

RUN npm install

RUN npm i -g serve

RUN npm run build

EXPOSE 5000

CMD ["serve", "-s", "build"]
```

### 2. DockerFile of Backend

```docker
FROM node:14

WORKDIR /app

COPY . /app

RUN npm install

EXPOSE 8000

CMD [ "npm", "run", "serve" ]
```

### 3. Endpoint of Backend with Express JS

The endpoint begins with **/api** as we had defined it in the Frontend

```javascript
const express = require("express");
const app = express();
const games = require("./api");
const cors = require("cors");

app.use(cors());
app.use(express.json());

app.get("/api/games", ({res}) => {
  res.status(200).json(games);
});

const port = 8000;

app.listen(port, () => {
  console.log(`Example app listening at http://localhost:${port}`);
});
```

### 4. Create file DockerFile of Nginx

```dockerfile
FROM nginx:latest

COPY nginx.conf /etc/nginx/nginx.conf

EXPOSE 80
```

### 5. Create Nginx conf

```nginx.conf
events {
        worker_connections 768;
        # multi_accept on;
}

http {
    server {
        listen 80 default_server;
        listen [::]:80 default_server;
        
        root   /usr/share/nginx/html;
        index  index.html index.htm;
        try_files $uri /index.html =404;

        location / {
            proxy_pass http://frontendreact:5000;
        }
        
        location /api {
            proxy_pass http://backendnode:8000;
        }
    } 
}
```


### 6. Docker compose

```yml
version: "3.9"
services:
  backendnode:
    build: ./backendnode
    expose:
      - "8000"
    volumes:
      - ./backendnode:/usr/src/app
  frontendreact:
    build: ./frontend
    expose:
      - "5000"
    volumes:
      - ./frontend:/usr/src/app
  nginx:
      build: ./nginx
      ports:
        - "80:80"
      links:
        - frontendreact
        - backendnode
      restart: always
```

[Code of example in Github 🔗](https://github.com/NelsonCode/react-github-actions)