teleren/devto huggingface dataset:
Python Throws a Bone to Other Developers
Tags: python, c, programming
Published: 2022-11-01 16:50:53

This may be a bit late to the party, but I recently found out that, starting with Python 3.8, You can assign variables within expressions. This was something I really disliked about Python way back in the 2.5 days when I switched over from C.

So, now instead of a code block like this:

```python
if len(data) > 0:
    process(data)
print(f"Processed {len(data)} bytes!")
```

You can combine variable assignment and the comparison in one line of code!

```python
if (dat_len := len(data)) > 0:
    process(data)
print(f"Processed {dat_len} bytes!")
```

It's all thanks to the addition of the `:=` operator.

For those of you who started programming in Python, this may not be such a big deal. But for those of us who come to Python from other languages, this is a real benefit, IMHO, as it helps the transition of programming in a "Pythonic" way that is also similar to the programming patterns from other languages.

See the docs [here](https://docs.python.org/3/whatsnew/3.8.html#assignment-expressions).
We’re officially launched! 🚀 Thanks so much to TechCrunch for covering our story. 🎉
Tags: startup, devops, sre, observability
Published: 2022-11-01 16:37:23

Check out the story on TechCrunch: https://techcrunch.com/2022/11/01/metrist-raises-5-5m-to-provide-better-cloud-service-outage-data/
Pastes.io VS Pastebin :
Tags: programming, pastebin, webdev, javascript
Published: 2022-11-01 16:36:48

## Pastes.io VS Pastebin :
# **Pastes.io Features :**

_All Features for free!_
- Share pages QR CODEs - Embed options .. etc
- Simple Ads by Google Adsense ( Few rather than Pastebin )
- Paste Folders
- Password protected pastes
- Encrypted pastes
- URL Shortener
- Unlisted pastes
- Private pastes
- Paste expiration system
- Self destroy pastes
- Share pastes on social network
- Embed, download, print pastes
- Clone pastes
- Report explicit pastes
- Socialite (Facebook/Twitter/Google Social login)
- Load files feature
- User profile page
- Trending pastes page (day, week, month, year) .. etc
What are the Six HTML Heading Tags?
Tags: html, beginners, webdev, tutorial
Published: 2022-11-01 15:00:00

**What are the six HTML Heading Tags?**

HTML defines six heading levels. A heading element entails all font changes, paragraph breaks before and after the header, and any white space required to portray the heading. H1, H2, H3, H4, H5, and H6 are the heading elements, with H1 being the highest (or most important) level and H6 being the lowest.

HTML headings are defined with the `<h1>` to `<h6>` tags.

```html
<head>
  <title>first page</title>
</head>

<body>
  <h1>This is heading 1</h1>
  <h2>This is heading 2</h2>
  <h3>This is heading 3</h3>
  <h4>This is heading 4</h4>
  <h5>This is heading 5</h5>
  <h6>This is heading 6</h6>
</body>

</html>
```

Note: Browsers automatically add some white space (a margin) before and after a heading.

Here is the result of this code:


![HTML Headings](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q3vjui7t6l5pe3zn4dqq.jpg)

It is not suggested to use headings solely to make text larger or bolder, because search engines use headings to index the structure and content of web pages. Headings are used for highlighting important topics. They provide valuable information and tell us about the structure of the document.

## Best Practice

It is best practice to have a single `<h1>` element on the page, which defines the main heading, and use the other heading element for the other headings on the page.

```html
<head>
  <title>first page</title>
</head>

<body>
   <h1>My Page</h1>
   <h2>About</h2>
   <p>Some text</p>
   <h2>Contacts</h2>
   <p>Some more text</p>
</body>

</html>
```

Here is the result of this code:

![HTML Sub-headings](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qfgsxb386qgt72ub93l2.jpg)

## Conclusion

In this article were learnt about all the different heading tags. To summarise, a title or subtitle that you want to display on the webpage can be defined as an HTML heading or HTML `h` tag. When you place text within the heading tags `<h1>........./h1>`, it is displayed in bold on the browser, and the size of the text is determined by the number of headings.

The `<h1>` to `<h6>` tags define six different HTML headings, from the highest level h1 (main heading) to the lowest level h6 (least important heading).

The largest heading tag is h1, and the smallest is h6. As a result, h1 is used for the most important heading and h6 is used for the least important.

Share this article. Follow me on [Twitter](https://twitter.com/maxlockwood88) for more updates.
💡 Luos Get Started in a few minutes
Tags: opensource, microservices, tutorial, luos
Published: 2022-11-01 16:30:00

💡 We found a solution to make embedded and edge projects easier, faster to deploy and it’s simple to get started with.

⏩[https://www.luos.io/tutorials/get-started](https://www.luos.io/tutorials/get-started)

If you are curious and looking for a new microservices approach for your project, try our get started to see how Luos works in a few mins, it’s open-source.

At the end, you will have a complete working environment and a network of boards interacting together.
Data engineer: Practica con dagster + airbyte + dbt + snowflake + docker
Tags: python, docker
Published: 2022-11-01 16:20:50


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ixozem7gqwo5nibq9xj7.png)

Comparto con la comunidad un proyecto de practica que he estado haciendo usando tecnologias open-source. Los servicios en el docker compose son los siguientes:

- **[Dagster](https://dagster.io/)**: Orquestador de operaciones
- **[Airbyte](https://airbyte.com/)**: “EL” tool para extraccion de datos
- **[dbt](https://www.getdbt.com/)**: Herramienta para tranformacion de datos
- **[Snowflake](https://www.snowflake.com/en/)**: Data warehouse
- **[FastApi](https://fastapi.tiangolo.com/)**: REST API


En esta practica solamente me limite a crear los containers con los respectivos servicios y haciendo pequeñas pruebas de como los servicios se podrian comunicar entre si. Como usar en detalle cada herramienta no es el foco de esta practica, Espero que les sea de utilidad. 

## Parte 1

{% embed http://www.youtube.com/watch?v=04dvzNBQb6M %}

## Parte 2

{% embed http://www.youtube.com/watch?v=ucDRuUtWSPI %}

## Parte 3

{% embed http://www.youtube.com/watch?v=bQQFE42kzwk %}

## Parte 4

{% embed http://www.youtube.com/watch?v=L3DGJ03JYlY %}

## Parte 5

{% embed http://www.youtube.com/watch?v=xLOJ250gM98 %}

## Parte 6

{% embed http://www.youtube.com/watch?v=Xe8Vf6ffUKw %}

## Parte 7

{% embed http://www.youtube.com/watch?v=JRnil-E3nZw %}

## Parte 8

{% embed http://www.youtube.com/watch?v=wuVzvAslTng %}

## Parte 9

{% embed http://www.youtube.com/watch?v=fpPsG6gY3kM %}

## Parte 10

{% embed http://www.youtube.com/watch?v=CeMjam1uI7Q %}


Codigo final: https://github.com/SaulBurgos/Data-Engineering-Project-public
Do you have any ideas for confidential computing?
Tags: webdev, opensource, devops, discuss
Published: 2022-11-01 16:04:37


Confidential computing allows us to protect data and code while it’s being processed. It’s an important set of technologies, but today it’s difficult to use. We created Nitrogen so you can easily deploy enclaves to AWS Nitro Enclaves to run web services confidentially. Nitrogen easily handles the set up for you and you can quickly be up and running with something you can experiment with.

Checkout out the [README](https://github.com/capeprivacy/nitrogen)!

Do you have any ideas for confidential computing once it becomes easier with tools like Nitrogen?
I made a WEB 3.0 Login form with just HTML and CSS
Tags: webdev, programming, beginners, html
Published: 2022-11-01 15:38:35

In this article, we'll be creating a simple WEB 3.0 login page using HTML, CSS. This login page will allow users to log in and access their accounts.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pvmur35wowx4v199mg47.png)

This simple login page will teach you the basics of Web3 and how to create a login page using HTML, CSS, and JavaScript. After watching this video, you'll be able to create your own login page that users can use to access their accounts!

[Click to watch](https://youtu.be/EtbqoTQz0eE)

Feel free to comment your honest opinion
Awesome about Golang Learning
Tags: go, algorithms, leetcode, ebooks
Published: 2022-11-01 15:26:22

---
title: Awesome about Golang Learning
published: true
description: Awesome about Golang Learning
tags: golang, algorithms, leetcode, ebooks
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2022-11-01 15:23 +0000
---
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ura95keif8czpn85gts0.jpeg)
List about awesome golang

+ Tutorial
+ Framework Golang web Gin, Echo, Fiber, Beego
+ Project Structure template
+ Clear Code
+ Source Example
+ Algorithms
+ Video
+ Ebooks

https://github.com/chieund/golang_learning
Paracetamol.test.js🧪| #9: Testea este código JavaScript
Tags: javascript, webdev, spanish, testing
Published: 2022-11-01 15:25:44

## **<center>Testea el siguiente código JavaScript</center>**
#### <center>**Dificultad:** <mark>Básico</mark></center>

```js
// arr.test.js
const nombres = ["Ana", "Pedro", "Carlos", "Alejandra"];

//test A
test("nombres contiene Carlos", () => {
  expect(nombres).toContain("Carlos");
});
//test B
test("nombres no contiene Paco", () => {
  expect(nombres).not.toContain("Paco");
});
```

A. `Ambos test no pasan ❌`
B. `Ambos test pasan ✅`
C. `Solo pasa el test A`
D. `Solo pasa el test B`

Respuesta en el primer comentario.


---
How to preview your uploaded profile picture in front-end when you uploaded
Published: 2022-11-01 15:16:43

In this article I will show you how to preview your picture in react/JavaScript when you uploaded..........

1. Create a new project using react (npx create-react-app your-app-name).

2. create a form component with file input element tag as follows

```
import { useRef, useState } from 'react';
import './App.css';
import PreviewProfile from './PreviewProfile';

function App() {
  const [value, setValue] = useState(null);
  const fileRef = useRef(null);

  return (
    <form>
      <input
        hidden
        type="file"
        ref={fileRef}
        onChange={(e) => setValue(e.target.files[0])}
      />
      {value && <PreviewProfile file={value} />}

      <button
        type="button"
        onClick={() => {
          fileRef.current.click();
        }}
      >
        Upload Profile
      </button>
    </form>
  );
}

export default App;
```

3. Let's create another component with PreviewProfile.jsx (as your desire) and write the following code:

```
import React, { useState } from 'react';

function PreviewProfile({ file }) {
  const [preview, setPreview] = useState(null);

  const reader = new FileReader();

  reader.readAsDataURL(file);
  reader.onload = () => {
    setPreview(reader.result);
  };

  return (
    <div>
      <img
        src={preview}
        alt="preview"
        style={{ width: '50px', height: '50px', borderRadius: '50%' }}
      />
    </div>
  );
}

export default PreviewProfile;
```

and run your application and upload an image and that's all.
Upgrading to Ventura 13.0
Tags: help
Published: 2022-11-01 15:13:45

Received the following error after upgrading to Ventura on my MacBook Pro M1 Max while trying to run `git`.

>  ~/ git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

This kind of stuff can stop you in your tracks if you're not sure what to search for so I though I would share this quick answer that helped me.

This is the command that allowed me to resolve my issue:

```
xcode-select install
```
This will install the Xcode Command Line Tools, a smaller package for mac software devs to use tools that run from the command line. [More info from freeCodeCamp](https://www.freecodecamp.org/news/install-xcode-command-line-tools/)

Once this was completed I was able to use git from the command line as I expected to.
NextSketch is now 50% off for qualifying startups!
Published: 2022-11-01 15:07:14

Hello!

Some exciting news today! Qualifying startups can now use 10 NextSketch licenses at 50% off for the next 5 years! If your company qualifies as a startup and is looking to take advantage of NextSketch, head over to JetBrains' Startup Website and check out this offer!

For those of you that don't know, NextSketch is a plugin for the IntelliJ Platform that let's you create simple architecture diagrams inside the IDE. It's convenient, easy, and integrated.

JetBrains Startup Program: https://www.jetbrains.com/store/startups/
NextSketch Pricing: https://plugins.jetbrains.com/plugin/19963-nextsketch/pricing#tabs




Keep Sketching!
www.nextsketch.ca
Free WMV Player for Mac
Tags: wmv, player, mac
Published: 2022-11-01 14:49:51

Watching videos on your Mac has never been easier. As you can see, there are countless options to choose from. The easiest and the most reliable way [wmv player for mac](https://www.elmedia-video-player.com/wmv-player-mac.html) with Elmedia Video Player.

Elmedia Player will allow you to watch WMV files on Mac with integrated subtitle support. In addition, choose their mode of operation. You can have them loaded automatically or manually, by yourself. Customize the little details like font, size, placement and more. And now for the best part: you’ll be able to manually adjust the delay, making sure your videos and subtitles sync perfectly every time you’re watching WMV on Mac.
Is your organization a "devops" organization?
Tags: devops, team, webdev
Published: 2022-11-01 14:47:22

---
title: Is your organization a "devops" organization?
published: true
description: 
tags: devops, team, webdev
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2022-11-01 14:42 +0000
---

In this article, we will consider together what a devops organization is and is not by looking at a simple question and how a "devops" organization responds to it.

## Q. What are some of the issue your organization or team has been facing lately?
In a devops organization, we are not bound by the best practices or definitions of any particular methodology, and we can face our own challenges.

*Example: the development team and the marketing team are not working together to provide optimal hospitality to users via ads. *

## Q. What have you changed recently in the way your organization or team works?
A devops organization tries to face challenges through trial and error. There is time for trial and error.

*Example: We recently set up a joint cross-functional meeting. *

## Q. Is there a place for members to share their failure/success stories with the organization?

Sharing stories can help to

- Increases transparency and builds trust within the team
- Colleagues can tell you how to prevent a damaging mistake before it is actually made
- More time available to solve new problems and encourage innovation.

*Example: Our development team has a meeting every morning to share what happened yesterday. *

## Q. Do one team and another use the same communication tools?

The fact that they use the same communication tools is a result of the two teams trying to communicate with each other. Two teams that do not communicate will not communicate just because they have Slack as a common tool.

*Example: The development team and the marketing team communicate through the same Slack channel and have a lively exchange of ideas. *

## Q. How many metrics do you have to measure your organization's success?

Insights into success.

*### e.g.) My organization measures conversion rates and the amount of user activity (PV, click events, etc.). We measure site latency. *

## Q. Is your organization's success measurement data publicly available?

If measurement data is publicly available, even employees without in-depth knowledge of operations (e.g., front-end engineers) can draw insights and decisions for iterative improvement.

*example) In my organization, Google Analytics data is publicly available to the development team, marketing team, stakeholders, and customers. However, outside of the development team, only some of the data is open to the public and does not lead to deeper insights. *

## Q. Are your organization's rules explicit?

Explicit rules allow new members to trace back the organization's past failures. Implicit rules are difficult for new members to notice and can lead to the same mistakes being repeated.

*Example: Our team's wiki summarizes how to do code reviews, what to check after deploying, etc. *

---

What were your organization's answers?

Thank you very much.
Disable Auto-Update-Notifications of Citrix Workspace for MacOS
Tags: macos, citrix, brew
Published: 2022-11-01 14:40:58

## Motivation

I dont want any update-notification popping up on macos when there is again a new Citrix Workspace version available. Instead i want to update citrix regulary via brew by myself.

## Fix

Unfortunately there is no official checkbox to disable auto updates in the app settings.
Instead i found out that there is a config file that manages auto-updates in the following folder:

`/Library/Application Support/Citrix Receiver/Auto Update/Prod`

Just rename/remove the config folder and the auto-update notification should be gone:
`sudo mv msr.xml msr.xml_tmp`
Connexion avec le client psql linux
Published: 2022-11-01 14:37:09

Bonjour
Je voudrais me connecter a distance a ma base de donnée en utilisant le prompt linux commande $psql ....
Où je trouve le mot de passe de la base de donnée ?
Est ce que je le crée avec $psql password sur mon terminal ou c'est le mot de passe compte serveur postgresql
Merci
REST, GraphQL API testing with declarative YAML specs
Tags: testing, yaml, api, graphql
Published: 2022-11-01 14:11:58

would like to introduce [Just-API](https://github.com/kiranz/just-api), An open source framework that I built to help people with testing APIs.

**What is Just-API?**

Just-API is a specification based framework to test REST, GraphQL (or any HTTP-based) APIs. It takes API suite specification from YAML files and runs them either in serial mode or in parallel mode as instructed by the user.

_What’s special about Just-API?_

It’s declarative, and allows user to test APIs with no code. But a user can always tap into code when they want to.

_Why Just-API?_

There are several tools available that offer nice UI to test APIs, but none of them really handle complex API test automation flows. Often people go back to programming to test complex flows. So why not a framework that allows users to test complex API scenarios with minimal coding, parallel execution and built-in response validation constructs with some nice reporting.

**How does it work?**

In simple terms, users build suites by providing request and response validation specification in a YAML suite. Just-API builds the request, makes a call to server and validates response as per the specification. You can choose to validate any or all of

    Response Status code
    Response Headers,
    Response JSON body
    Response JSON schema

or Provide your own custom Javascript validator functions.

See documentation [here](https://kiranz.github.io/just-api/)

Github [repo](https://github.com/kiranz/just-api)
Lies people tell about Tech - reactive_dude
Tags: career
Published: 2022-11-01 14:04:30

####   Original Tweet From  [@reactive_dude](https://twitter.com/reactive_dude)
{% embed https://twitter.com/reactive_dude/status/1586674525583790085 %}


###1|. Learning JavaScript = Easy $100k+ Remote Job 

Bad news:

- $100k+ outside of the US is usually a top salary for senior devs
- JavaScript alone is not enough

If you're a self-taught dev with no experience, you have much better chances of finding your first job at a local market.

Start small and work your way up. 

###2|. JavaScript Is Hard

Programming is hard. Inherently JavaScript feels hard for beginners too.

But of all popular programming languages, JavaScript &amp; Python are probably one of the easiest to learn.

Those are perfect for beginners looking to get into tech.
 
AdSpace Here!!

###3|. Master Programming in X Months

First, nobody has ever mastered anything in a few months.

It's perfectly normal to spend 1-2 years (or even more) learning &amp; practicing before you get your first dev job.

And many more years to "master" something. 

###4|. Good Programmers Know Everything

Nope, they don't.

The list of technologies is endless and constantly evolving. It is impossible to be an expert in everything.

Great programmers are good learners and problem-solvers. 

AdSpace Here!!

###5|. "Things Every Developer Should Know"

More often than not, you don't need to know any of that.

Just as I mentioned before, it's not about knowing everything, it's about being able to come up with solutions to problems. 

###6|. Freelancing As a Dev is Easy

Being a freelancer means you're more than a dev. You handle sales, marketing, taxes, project management, communication, etc.

You run a one-man company, and in my opinion, that's harder than having a full-time job. 

###7|. It's Hard to Center a Div

It used to be somewhat complicated in 2006. But good people have created Flexbox and Grid for us.

If learning 2-3 CSS properties is supposed to be hard, it might be the reason why aliens don't want to visit us. 

Thank you so much for reading! ❤️

If you enjoyed this thread:

1. Follow me [@reactive_dude](https://twitter.com/reactive_dude) for more web development and programming tips
2. RT the tweet below to share this thread with your friends


{% embed https://twitter.com/reactive_dude/status/1586674525583790085?s=20&t=k7SjXXPK9pRfKEdN1mYghw %}



Click [Here](https://www.knowledge-twitter.com/?utm_source=dev.to)  For More Posts Like This [https://www.knowledge-twitter.com](https://www.knowledge-twitter.com/?utm_source=dev.to)