teleren/devto huggingface dataset:
Troubleshooting common ECG/EKG common hardware and software problems
Tags: moretechies, 7daysoftechnicalwriting
Published: 2022-09-26 17:40:54

Many times you might have to battle with your ECG/EKG machines giving you problems and not knowing where to start with the troubleshooting. Below are some of the common problems your ECG/EKG machine can give and the possible way you can troubleshoot them.

### Problem 1
ECG/EKG machine not switching on
#### Possible Cause 
1. Power supply not connected or low battery. 
2. Cable defect or no proper connection.
3. AC Adapter defect

#### Solution

1. Connect the power supply properly.
2. Check the different cables of the machine and ensure they are in good condition or properly connected to the ports and connectors.
3. Replace the Adapter.


### Problem 2
Blank display, but the machine works perfectly
#### Possible Cause 
1. Cable defect or no proper connection.
2. LCD defect

#### Solution

1. Check the cables between the main board and display to ensure they are in good condition or properly connected.
2. Replace the LCD or refer to a biomedical engineer.

### Problem 3
Touch Screen not responding(For touch screen machine)
#### Possible Cause 
1. Cable defect or bad connection.
2. Touch screen defect.

#### Solution

1. Check the cables between the main board and display to ensure they are in good condition or properly connected.
2. Replace the Touch Screen or refer to a biomedical engineer.

### Problem 4
No Printout

#### Possible Cause 
1. Cable defects or bad connections.
2. Recorder Failure
3. Main Board Failure

#### Solution
1. Check the cables between the recorder and motherboard to ensure they are in good condition or properly connected.
2. Replace the recorder or refer to a biomedical engineer.
3. Replace the main board or refer to a biomedical engineer.

### Problem 5
Unstable/Intermittent Signal ECG trace

#### Possible Cause 
1. Cable defects or bad connections.
2. Interference
3. Skin Impedance

#### Solution
1. Check all cables to ensure they are in good condition or properly connected.
2. Remove any possible static charge, or metal (bed rail) before touching the patient.
3. make sure to rub the skin of the patient.


### Problem 6
The low amplitude ECG trace

#### Possible Cause 
1. Machine Setting
2. Interference
3. Cable defect or bad connections

#### Solution
1. Adjust monitor settings to increase the amplitude.
2. Move ECG away from equipment like an infusion pump.
3. Check all cable connections to ensure they are in good condition and properly connected.

### Problem 7
Lead(s) off Error message

#### Possible Cause 
Leads not set correctly

#### Solution
Ensure that the number of leads is set correctly on the monitor.
MY JOURNEY INTO TECH
Published: 2022-09-26 16:45:32

I’m Ighoruemuse Esther Ovuokereye ,student at CodeLabBySkillHub .Before I gained admission into CodeLab .I wanted to acquire tech knowledge which will assist me in achieving my goals in life. My goal in life is to become a world class software developer Which I must start making a reality.
Firstly, after checking through my phone for a place to learn tech ,I found one close to me and luckily it was a scholarship program through a friend of mine. I went for the tech fair which was held by CodeLabBySkillHub also I loved what I saw in the tech fair. I was made to realize much benefits that are associated only if I have tech skill. So after that I got the admission form for CodeLabBySkillHub then I was called for the first interview which I passed ,then I was called on phone for another phone
interview which I passed .I was very excited and eager to know what tech fully entails.
My journey started .The first day we had to introduce our selves in the class both the studentsand teachers then we were introduce to the programing language which we will be learning .we were brief on how the programing journey will look like to us .we were told it’s not going to be easy but CodeLabBySkillHub as a tech institution will give us their full support and encouragement .Truly it wasn’t easy as said during my second week into tech I felt like giving up on my dreams ,programming was looking so different and hard to comprehend but I kept on pushing .I could remember my first line of code console.log(“hello world”).I learned the basics of different programming language like
JavaScript,HTML,CSS.Then I also learned the basics of design thinking,Ui/Ux using the figma tool a website where we can create designs.I also learned how to become a transformational leader in the society and what it entails .
However it has been an awesome experience right from the day I started till now .There is a tremendous improvement in my life ,now I am writing more than 100 lines of code in HTML and I have
moved to learning a new programming language called “typescript” .The exposure to tech had made me to realize that with the skills I will eventually in tech ,I will be able to change my world and make it a better place by solving people problem and making life easier than we could ever imagine.
Getters/Setters to control access to an object (freecodecamp notes)
Tags: javascript, programming, tutorial, beginners
Published: 2022-09-26 16:44:31

Below is an example of a JS Class

```javascript
class Book {
  constructor(author) {
    this._author = author;
  }
  // getter
  get writer() {
    return this._author;
  }
  // setter
  set writer(updatedAuthor) {
    this._author = updatedAuthor;
  }
}
const novel = new Book('anonymous');
console.log(novel.writer);
novel.writer = 'newAuthor';
console.log(novel.writer);
```
So here's the exercise se the class keyword to create a Thermostat class. The constructor accepts a Fahrenheit temperature.

In the class, create a getter to **obtain the temperature in Celsius** and a setter to **set the temperature in Celsius.**

Remember that C = 5/9 * (F - 32) and F = C * 9.0 / 5 + 32, where F is the value of temperature in Fahrenheit, and C is the value of the same temperature in Celsius.

if you dive into the coding part without reading the question you will probably get it wrong, note that the question says 'obtain the temp in celcius' and 'set the temperature in celcius and with the equation they have given us we can do just that.

```javascript
// Only change code below this line
class Thermostat{
  constructor(temp){
    this._temp =temp;
  }
  get temperature(){
    return 5/9 * (this._temp - 32)
  }

  set temperature(C){
    this._temp=C * 9.0 / 5 + 32
  }
}
// Only change code above this line

const thermos = new Thermostat(76); // Setting in Fahrenheit scale
let temp = thermos.temperature; // 24.44 in Celsius
thermos.temperature = 26;
temp = thermos.temperature; // 26 in Celsius
```
PostgreSQL. How to get DBs that a given user can access?
Tags: postgres, access, user
Published: 2022-09-26 16:32:58

```
select pgu.usename as user_name,
(select string_agg(pgd.datname, ',' order by pgd.datname)
from pg_database pgd
where has_database_privilege(pgu.usename, pgd.datname,
'CONNECT')) as database_name
from pg_user pgu
where pgu.usename = 'some_username'
order by pgu.usename;
```
Handy AWS S3 CLI commands
Tags: aws, s3, cli, cloudnative
Published: 2022-09-26 16:28:54

Some of the AWS S3 CLI commands that are handy for getting &  writing objects to/from the S3 buckets.

**To list data from a S3 folder:**
`aws s3 ls s3://bucket/folder/subfolder/ --recursive --profile kylefoo`


**To get object from a S3 bucket:**
`aws s3api get-object --bucket prod-bucket --key folder/subfolder/remote-file.txt --profile kylefoo local-file.txt`


**To write object to a S3 file:**
`aws s3api put-object --bucket prod-bucket --key folder/subfolder/remote-object.json --body local-object.json --profile kylefoo`


**To remove a specific file type inside a S3 subfolder**
`aws s3 rm s3://bucket/folder/subfolder/ --recursive --exclude "*" --include "*.txt" --profile kylefoo`
MY JOURNEY INTO TECH
Published: 2022-09-26 16:25:43

I’m Ighoruemuse Esther Ovuokereye ,student at CodeLabBySkillHub .Before I gained admission into CodeLab .I wanted to acquire tech knowledge which will assist me in achieving my goals in life. My goal in life is to become a world class software developer Which I must start making a reality.
Firstly, after checking through my phone for a place to learn tech ,I found one close to me and luckily it was a scholarship program through a friend of mine. I went for the tech fair which was held by CodeLabBySkillHub also I loved what I saw in the tech fair. I was made to realize much benefits that are associated only if I have tech skill. So after that I got the admission form for CodeLabBySkillHub then I was called for the first interview which I passed ,then I was called on phone for another phone
interview which I passed .I was very excited and eager to know what tech fully entails.
My journey started .The first day we had to introduce our selves in the class both the students and teachers then we were introduce to the programing language which we will be learning .we were brief on how the programing journey will look like to us .we were told it’s not going to be easy but CodeLabBySkillHub as a tech institution will give us their full support and encouragement .Truly it wasn’t easy as said during my second week into tech I felt like giving up on my dreams ,programming was looking so different and hard to comprehend but I kept on pushing .I could remember my first line of code console.log(“hello world”).I learned the basics of different programming language like
JavaScript,HTML,CSS.Then I also learned the basics of design thinking,Ui/Ux using the figma tool a website where we can create designs.I also learned how to become a transformational leader in the society and what it entails .
However it has been an awesome experience right from the day I started till now .There is a tremendous improvement in my life ,now I am writing more than 100 lines of code in HTML and I have
moved to learning a new programming language called “typescript” .The exposure to tech had made me to realize that with the skills I will eventually in tech ,I will be able to change my world and make it a better place by solving people problem and making life easier than we could ever imagine.
Be careful when using .env files
Tags: webdev, security, node, javascript
Published: 2022-09-26 16:19:11

Not even within 24 hours, a recently launched website was being sniffed for secrets. A bot was searching for a `.env` file where some projects store secrets. Fortunately, this website was protected by Cloudflare.

## What can we learn from this?

The .env file should be treated as a potential source of a cyber breach. We should be cautious about what data we store there.

## Should we put secrets in the `.env` file?

No, when possible.

## Where should we store and use secrets?

Store secrets in a secrets manager or database. Limit the use of secrets to the backend code (i.e., the code not used in the frontend web application code).

## How can we protect the `.env` file?

We should use a Web Application Firewall to stop external HTTP requests from reading this file. The file should only be read by the application code.

<hr>

Originally published on [Medium](https://miguelacallesmba.medium.com/be-careful-when-using-env-files-be2e67db0248)
Hello Dev.to👋, I built this👇, what do you think?
Tags: showdev, react, npm, discuss
Published: 2022-09-26 15:58:23

I had fun building this project. And I would like to share.

I built a react component library. And I published it to NPM.
Here is the link: [react-loading-indicators](https://www.npmjs.com/package/react-loading-indicators).

I would love to here your comments about this. I welcome your  views and suggestions.

I created the [DEMO](https://react-loading-indicators.netlify.app) site here so you can quickly see what the library offers.

## More about the project

This project gives you a collection of loading spinners for your next life-changing project.

### Technologies I used

- React
- [Rollup](https://rollupjs.org/)
- [Typescript](https://typescriptlang.org/docs/)
- [StoryBook](https://storybook.js.org/tutorials/intro-to-storybook/react/en/get-started/)

### What I have learnt

- Building a library is different from building a web application.
- Typescript really helps with catching buggy code before it is a problem.
- Using Typescript allows you to create a mini documentation of your library just within the source code.
- Getting hands dirty building projects, is a genuine way of learning to code.
- Be patient with programming. The brain is not a memory chip to load it with gigabytes of data in one hour.
- With programming, you can create what you think of.

### Briefly about my learning journey

I did not wake up to writing react code. I started with HTML, CSS. Then I progressed to Vanilla Javascript. I stuck around here for some while building vanilla js projects. Then I came to react. I am still continuing with my journey having started to incorporate backend.

You can follow me on [twitter](https://twitter.com/smitterhane). Learning journey doesn't have to be lonely.
Guia de TI lança ebook com centenas de Cursos Gratuitos focados em programação, infraestrutura e gestão.
Tags: cursogratuito, eventos, cursos, cursosgratuitos
Published: 2022-09-26 16:31:13

---
title: Guia de TI lança ebook com centenas de Cursos Gratuitos focados em programação, infraestrutura e gestão.
published: true
date: 2022-09-26 16:07:17 UTC
tags: CursoGratuito,Eventos,Cursos,CursosGratuitos
canonical_url: 
---

![](https://guiadeti.com.br/wp-content/uploads/2022/09/capa.png)

Ficamos felizes em anunciar mais uma novidade no Guia de TI.  
 ![🎉](https://s.w.org/images/core/emoji/14.0.0/72x72/1f389.png)Está no ar a 6ª edição do ![🦉](https://s.w.org/images/core/emoji/14.0.0/72x72/1f989.png)Guia de TI!

São mais de 200 escolas e mais de 500 tecnologias.  
Centenas de Cursos Gratuitos para dar aquele upgrade no currículo!

Desde o lançamento do Guia de TI em 01/05/2022 acumulamos mais de 500 mil acessos no site.  
Ajudamos mais de 10 mil pessoas a se especializar gratuitamente e conseguir o primeiro emprego na área.

Baixem o Guia de TI e divulguem para todos seus amigos, colegas de trabalho e familiares.  
Conto com a sua ajuda compartilhando o Guia de TI em seus canais!

Baixe Agora! [https://download.guiadeti.com.br/](https://download.guiadeti.com.br/)

O post [Guia de TI lança ebook com centenas de Cursos Gratuitos focados em programação, infraestrutura e gestão.](https://guiadeti.com.br/guia-de-ti-lanca-ebook-com-centenas-de-cursos-gratuitos-focados-em-programacao-infraestrutura-e-gestao/) apareceu primeiro em [Guia de TI](https://guiadeti.com.br).
MY JOURNEY INTO TECH
Published: 2022-09-26 15:02:38

Hi guys, my name is Okwoli Godwin, a student of codelab, my journey into 
tech hasn’t been all rosy but it has been worth every bit of it. I hope this 
story of mine inspires someone not to give up in pursuit of passion.
Codelab is a tech community presently located in Ajegunle Lagos. Codelab 
vision is to help youths in Ajegunle redeem their time and their mission is to 
build over one thousand developers in Ajegunle wirh the space of five years. 
Codelab teaches youth to become a fullstack web developer.
I gained admission into codelab in July 2021 immediately after my senior 
secondary school, however, due to many factors including lack of 
understanding an unseriousness I was not consistent and it resulted me 
being dropped out of the program.
I officially picked it up again a month after I was dropped from codelab and 
started learning on my own. My learning wasn’t structured and I was 
trapped in tutorial hell, I was learning concepts without actually putting it 
into practice. It seemed as though I had to learn everything before I could 
build a meaningful project, how wrong I was.
In July 2022 I gained admission back into codelab after going through some 
interview process. I set a one year goal for myself to be a fullstack web 
developer and also promise myself to be more serious and consistent to 
learnings.
I am excited with how good I am now, iv’e learnt alot on Html, CSS, 
JAVASCRIPT, Project Management, Transformational Leadership and Design 
Thinking, transmitting my lines of codes into profitable ideas and of course 
have massive fun while learning.
This is just the beginning of greater things to come because I haven’t even 
scratched the surface and I am so pumped for the adventure ahead. I know I
am going to make beautiful memories in the coming months, meet awesome people, build products I have never thought possible, and be the 
best version of me.
So to those still pursuing their dreams, never give up!!!, your dreams are 
valid, it might look bleak but trust me the present challenges you are going 
through now is only preparing you for the future ahead.
Here is to one year of awesomeness ahead, thanks to Codelabbyskillhub for 
this amazing opportunity, I promise to give it all I have got. The journey of 
one year begins with an article!!
🎉 Luos is now compatible with SimpleFOC!
Tags: opensource, microservices, arduino, luos
Published: 2022-09-26 15:45:18

🎉 Luos is now compatible with SimpleFOC!
{% embed https://www.youtube.com/embed/XLMP-gg-LrU %}

In this video, we will integrate the SimpleFOC library with Luos technology, in order to create the drivers and control a BLDC and a Stepper motor.

SimpleFOC is an opensource project providing an arduino library to control different types of motors, as well as arduino shields in order to drive them.
How does your web browser run Javascript?
Tags: javascript, web, googlechrome, interviewquestions
Published: 2022-09-26 04:22:06

---
title: How does your web browser run Javascript?
published: true
date: 2022-09-26 04:20:00 UTC
tags: javascript,web,googlechrome,interviewquestions
canonical_url: 
---

#### A quick summary

![](https://cdn-images-1.medium.com/max/1024/0*QRavJb0VJP0Ox7pH)
_Photo by Claudio Schwarz on Unsplash_

Questions on web browsers are frequently asked in interviews. For example, the process of loading a webpage in a browser from the moment a URL is entered is one of the most asked interview questions.

Here, let’s talk specifically about how JavaScript (JS) runs.

JS is a client-side scripting language. This means your browser (aka the client) runs it. How?

Every browser comes with a JS Engine which also acts like a virtual machine that helps us run the code.

#### Did you know that different browsers use different JS engines?

👉🏻 Chrome uses V8  
👉🏻 Edge uses Chakra  
👉🏻 Firefox uses Spider monkey

Here’s a simplified summary of what happens:

- The JS engine locates the script/JS code, checks the syntax, and parses it into an Abstract Syntax Tree (AST). Think of it as a tree-like representation of the code. This step is done by a “ **parser** ”.
- The AST is converted into bytecode and run by an interpreter. In the case of the V8 engine, the interpreter is called “ **ignition** ”.
- The bytecode and the profiling data generated while running it is passed to a Just in time (JIT = compilation during runtime) compiler that can produce highly optimized machine code.
- In the case of the V8 engine, the compiler is called “ **Turbofan** ”.
- In the case of Chakra and Spider monkey, there are some differences in these steps and they use two optimizing compilers.

The rest of the steps and architecture in most JS engines are similar.

I hope you got a good overview.

Here are some links for more in-depth exploration:

- [A crash course in just-in-time (JIT) compilers - Mozilla Hacks - the Web developer blog](https://hacks.mozilla.org/2017/02/a-crash-course-in-just-in-time-jit-compilers/)
- [How JavaScript Works: Under the Hood of the V8 Engine](https://www.freecodecamp.org/news/javascript-under-the-hood-v8/)
- [JavaScript engine fundamentals: Shapes and Inline Caches](https://mathiasbynens.be/notes/shapes-ics)

This content was first published by me [here](https://www.linkedin.com/posts/aditya-vivek-thota_javascript-interview-code-activity-6914226389038624768-EhcZ?utm_source=linkedin_share&utm_medium=member_desktop_web).

* * *
4 Lessons We Learned From Per Esbensen, Co-founder and CEO of Codeable
Tags: founder, coding, beginners, entrepreneur
Published: 2022-09-26 15:30:38

Per Esbensen started [Codeable](https://www.codeable.io/) (alongside cofounder Tomaž Zaman) with a goal to disrupt online outsourcing, after seeing that constant bidding wars were creating a hostile working environment and ultimately a race to the bottom. 

He wanted to do something different. 

Today, he is responsible for setting the strategic vision for [Codeable](https://www.codeable.io/). His strong entrepreneurship skills are what have steered Codeable towards growth and to building a truly tight-knit community of WordPress developers.

Keep reading to see Per's 4 top tips for building a human-centric company and finding the right team...

## Putting your team’s happiness first is good for business

“I want to build a human-centric company. This means we help experts value their work, enjoy their days, and deliver better results by being happy.
 
I am personally invested in changing lives, creating a healthy work environment, working smarter and not harder, and providing tools and guidelines for experts to work together and value their knowledge and work. I believe that creating a human-centric company is good business. 

Codeable has a clear mission. We want to disrupt the old-school outsourcing model. We will make a small dent in the universe creating a healthy working environment composed of top-notched experts and excellent clients that work together to solve problems.” 

## Find the right partners early on to make the hard days better 

“Building a company from scratch is a big challenge. WooThemes was the first company we approached since they needed a go-to place for experts to solve their issues. They always believed in us and in our model. WooThemes became WooCommerce and later was acquired by Automattic. 

Bootstrapping a company can be hard. We achieved this by 100% believing in the mission and loving the journey and reaching out and onboarding so many excellent experts. We couldn’t have done it without them.

We have grown together with these amazing players.” 

## Don’t be afraid to raise your prices

“It took us too long to raise fees. It’s important when you are building a company that the company is actually making money. When you strive to make a company that is quality driven, and not focused as much on quantity, making a profit is especially vital.” 

## The secret to starting a business isn’t behind a screen 

“Get out of the office. Talking to people, analyzing the market- that doesn’t happen behind a computer. 

For your team, make sure you have a geek and a marketing person working together. It’s good to have a range of experience with your partner. 

Have a network of talented people with skills that you don’t have. 

And finally have a good MVP, learn, and get on with it!” 

Work with Per and the [Codeable team here](https://www.codeable.io/), and find more interviews with entrepreneurs, innovators, and industry leaders at [kinsta.com](https://kinsta.com/podcast/)
MY JOURNEY INTO TECH
Published: 2022-09-26 15:17:55

Growing up as a kid I always loved technology (phones, laptops  games like play-station 2,3). I wanted to understand how  it worked. I do thinks it all came down from  heaven, lol. While I in secondary school, I made research on  applications, websites and games. Then I got to understand they were all made by programming language. During secondary school, I always  wanted to learn a programming language but was unable to because it was not part of my school curriculum. I still  didn’t give up on my dream to learn programming language. what I knew about computer  programmers was that they are always solution getters, they solve  problems using technologies. Example: Social Media applications has  help solve many problems, it has been able to make information easy  to share and get. So when I understood that I could use technology to  solve a problem in my society, I got so obsessed with learning how to  write a program. Note: A person who writes programming language is  called a programmer/Software Developer.