teleren/devto huggingface dataset:
Top 4 New Relic Technical Blogs and Resources of July 2022
Tags: monitoring, devops, newrelic, observability
Published: 2022-08-05 16:27:00

[Fast counting in PostgreSQL and MySQL](https://newrelic.com/blog/how-to-relic/fast-counting-in-postgresql-and-mysql?utm_source=devto&utm_medium=community&utm_campaign=global-fy23-q2-devto_techupdates) 
Learn techniques for fast counting PostgreSQL and MySQL databases, including counting ahead of time and estimating counts.

[Alert! Best practices for alert quality ](https://newrelic.com/blog/best-practices/alerts-best-practices?utm_source=devto&utm_medium=community&utm_campaign=global-fy23-q2-devto_techupdates)
Learn about the four best practices for setting up and tracking alerts in New Relic.

[Tips to help you get value fast from the redesigned New Relic UI ](https://newrelic.com/blog/nerdlog/new-ui-new-relic?utm_source=devto&utm_medium=community&utm_campaign=global-fy23-q2-devto_techupdates)
Now in public preview: Our new UI is faster, more adaptable, and makes it easier than ever to use data to build better software.

[Troubleshoot your website with New Relic browser](https://developer.newrelic.com/collect-data/browser/?utm_source=devto&utm_medium=community&utm_campaign=global-fy23-q2-devto_techupdates)
In this lab, you instrument your web application with New Relic browser agent, monitor its metrics, and troubleshoot frontend issues.

_[Subscribe to our blog](https://newrelic.com/blog#block-nrblogsignupform--2?utm_source=devto&utm_medium=community&utm_campaign=global-fy23-q2-technical_updates_devto) and receive a weekly newsletter of our latest technical content._ _If you're not a New Relic customer, [sign up for your free account today](https://newrelic.com/signup/?utm_source=devto&utm_medium=community&utm_campaign=global-fy23-q2-devto_techupdates)._
WP Watercooler DevBranch EP21 – Post Formats Status
Tags: speaking, wordpress
Published: 2022-12-01 19:02:03

---
title: WP Watercooler DevBranch EP21 – Post Formats Status
published: true
date: 2022-08-05 16:22:07 UTC
tags: Speaking,WordPress
canonical_url: https://courtneyr.dev/2022/08/05/wp-watercooler-devbranch-ep21-post-formats-status/
---

![2V3eHD3mpAk jpg](https://courtneyr.dev/wp-content/uploads/2022/08/2V3eHD3mpAk-jpg.webp "WP Watercooler DevBranch EP21 – Post Formats Status 46")

![2V3eHD3mpAk jpg](https://courtneyr.dev/wp-content/uploads/2022/08/2V3eHD3mpAk-jpg.webp "WP Watercooler DevBranch EP21 – Post Formats Status 45")

<!-- wp:embed {"url":"https://youtu.be/2V3eHD3mpAk","type":"video","providerNameSlug":"youtube","responsive":true,"align":"wide","className":"wp-embed-aspect-16-9 wp-has-aspect-ratio"} -->

https://youtu.be/2V3eHD3mpAk

<!-- /wp:embed -->

<!-- wp:mamaduka/bookmark-card {"url":"https://wpwatercooler.com/devbranch/ep21-post-formats-status/"} -->

[
 ![](https://wpwatercooler.com/wp-admin/admin-ajax.php?action=rank_math_overlay_thumb&id=8119&type=play&secret=e4d396e1975ebcd55321f32606d158fc)

EP21 - Post Formats Status - Dev Branch

This week on WPwatercooler's Dev Branch we have Courtney Robertson joining us to talk about the future of Post Formats in the Full Site Editor future of WordPress.

 ![](https://wpwatercooler.com/wp-content/uploads/fbrfg/favicon-32x32.png)wpwatercooler.com

](https://wpwatercooler.com/devbranch/ep21-post-formats-status/)

<!-- /wp:mamaduka/bookmark-card -->

This article first appeared on:  
 ![](https://courtneyr.dev/wp-content/uploads/2022/08/2V3eHD3mpAk.jpg)  
[Courtney Robertson -](https://courtneyr.dev)  
by [<span class='p-author h-card'>Courtney Robertson</span>](https://courtneyr.dev/author/courane01/)
Luos with PlatformIO: create a Luos project
Tags: opensource, microservices, embedded, luos
Published: 2022-08-05 15:39:54

Have you just heard about Luos or have you already followed our "Get started" and want to go further?
This tutorial is for you!

⏩ https://www.luos.io/tutorials/pio

We will guide you step by step through the creation of your first Luos project with PlatformIO.
UEFI Rust std has a new home
Tags: rust, uefi
Published: 2022-08-05 19:25:16

---
title: UEFI Rust std has a new home
published: true
date: 2022-08-05 15:14:12 UTC
tags: rust, uefi
canonical_url: 
---

Hello everyone. All my work on UEFI Rust std has been moved to [tianocore/rust](https://github.com/tianocore/rust). This should help with allowing more contribution from both Tianocore and Rust’s sides. This post is just a sort of introduction to the new repository and how to get started.

## Documentation

The documentation of the std implementation for UEFI can be found at `src/doc/rustc/src/platform-support/unknown-uefi.md`. This can be built by using `x.py`:
```sh
./x.py doc src/doc/rustc/ --open
```

It outlines the requirements and the limitations of the current std for UEFI. It also contains a few examples to get users started.

## Development Workflow

The [tianocore/rust](https://github.com/tianocore/rust) repository accepts PRs. I will also accept patches in the edk2 mailing list (my email: [ayushdevel1325@gmail.com](ayushdevel1325@gmail.com)).

## Running Tests locally
Running Tests for UEFI is done using `remote-test-server` and `remote-test-client` as outlined in my [previous post](https://programmershideaway.xyz/post12/). The only thing I would like to change from that guide is the command to run tests:

```sh
RUST_TEST_THREADS=1 TEST_DEVICE_ADDR="localhost:12345" ./x.py test src/test/ui/{FILE or Directory} --target x86_64-unknown-uefi --stage 1
```

Running tests in single-threaded, even on the host side, fixes a lot of tests that fail due to timeout.

## Conclusion
This post was just to spread the word about this work so more people can experiment and provide their feedback about it.
Recommendation system #1 - Redis Hackathon
Tags: webdev, javascript, node, redishackathon
Published: 2022-08-05 15:14:00

In one of the applications that I'm involved in on my spare time, with a friend we decided to add a recommendation section. With such section, users who interact with one product will get a recommendation of other similar products. I already read a little about this problem and seems to be not trivial. And because I like challenges decided to write my simple recommendation engine.

To make sure I won't discard this project too soon I decided to participate in [Redis Hackathon](https://dev.to/devteam/announcing-the-redis-hackathon-on-dev-3248) not for prizes or splendour but to have fun with limitations and maybe cooperate with others thru post series. 

My initial thoughts are to use Redis for the stream of user events and storage of products to match (eventually QuestDB but hey, it's Redis Hackathon!). Algorithms? Still researching, the easy one to implement seems to be the Jaccard index extended by weights on individual events.  

If you are interested in this journey, follow me and in the next post, we are starting an adventure!
Http request with Axios for beginners
Tags: javascript, axios, beginners, webdev
Published: 2022-08-05 15:10:00

#What is Axios ?
Axios is a very popular JavaScript library that allows you to make HTTP requests to a RESTful API. Axios performs the same function as the fetch API made available by various browsers. Promises are used in the background of Axios.

**This blog is for beginner who is starting with axios. I've covered all the basics one need to know in order to get started with axios and have explained most widely used http method get() and post() method with proper example.**

#How to fetch data with axios?
In order to use axios we have to first install it.

```react
npm install axios
```
Now, import axios where you want to use it.

##Using Axios
I like using Axios over the fetch API mostly because it offers a very clear and accurate syntax.

##Making get() request

Below is the representation of fetching data using axios.
Making get request to the endpoint of API
```react
axios.get(url)
```

```react
const fetchNews = () => {
    const EndPointUrl="https://newsapi.org/v2/everything?q=apple&from=2022-08-04&to=2022-08-04&sortBy=popularity&apiKey=5153d63033ef47c4ad86a69b1d664ab9";
    axios.get(EndPointUrl)
      .then((response) => {
        console.log(response);
      })
      .catch(error=>console.log(error));
  };
```
In the example above I am making a GET request to the news API to obtain a list of news.

To utilise Axios, we first call the axios function, and then we call any of the Axios library's functions that correspond to the various HTTP verbs. In the example above, we are sending a GET request using the get() method. 
The way the Axios library works is that it produces an object that contains a key of data that contains the data you requested.
#Making post() request

The following code, for instance, demonstrates how to perform a post request using the axios.post() method. This method accepts two parameters, the first of which is the URI of the service endpoint. Second, we're supplying an object that holds the object's properties.
Once an HTTP POST request is made, Axios returns a promise that, depending on the outcome of the backend service's answer, is either fulfilled or refused.
To handle the result, you can use the then() method.
```react
axios.post('/login', {
  firstName: 'Sam',
  lastName: 'Wills'
})
.then(function (response) {
    console.log(response);
  })
  .catch(function (error) {
    console.log(error);
  });
```
**To explore more and learn about other http methods using axios you can visit [Axios](https://axios-http.com/).
This is my github repository link where I've used axios to fetch data of crypto coins and their information [github](https://github.com/srishtiprasadmanit12/Crypto-Web-App.git).
Go and explore this amazing 🤩crypto web App.**

If you have any query let me know in the comment section. I'll try my best to answer them.
If you find this blog helpful, please ❤️ like it.
You can follow me if you wish to learn such amazing  stuffs.
PHP HTML FORM ON SUBMIT DOES NOT PERFORM THE JAVASCRIPT ACTIONS FOR VALIDATION
Tags: javascript, webdev
Published: 2022-08-05 14:59:20

Good Morning Guys,
I am actually stocked here, I have a form developed in PHP with HTML script. The same form, on submit, values are expected to be validated before it proceeds to the SQL Database.

The issue now is that, when I submit the form, the form simply refreshes without performing the actions on the JavaScript page. Checking whether or not the page links to the JavaScript page, (YES IT DOES), why the actions are not been performed I have issues debugging this. I know there is a problem with my script, but how to figure it out, I don't know. This is a common problem, I will appreciate if I can get assisted.

Regards
Michael
Follow Friday: Kubernetes Edition (5 August 2022)
Tags: meta, writing, kubernetes, devops
Published: 2022-08-05 14:57:39

---
title: Follow Friday: Kubernetes Edition (5 August 2022)
published: true
description: 
series: Follow Friday
tags: meta, writing, kubernetes, devops
---

_Happy Friday, friends! 🎉 Follow Friday is your weekly opportunity to shout out fellow DEV Community members doing awesome work. Check out the comments and follow someone new!_

Kubernetes, also known as K8s (_or, as @jgaskins prefers to pronounce it: [cyber noodles](https://twitter.com/jamie_gaskins/status/1202529073739776000))_, is beloved by many developers for its ability to deploy and manage containerized applications on a huge scale. And did we mention it’s an open source system? 😁


So, devs: who are your favorite DEV community members writing about Kubernetes?

_**Formatting tip**: to populate a card with a follow button, use the liquid tag syntax `{% embed https://... %}` and insert the URL of your favorite author's profile._

Join in on the #FollowFriday fun by @mentioning your favorite author to follow for K8s shenanigans (and letting us know why you love their posts!) ⤵️
I'm building a SaaS product for my startup!...
Tags: saas, laravel, react, software
Published: 2022-08-05 14:55:00

Started off in 2020 
[`<a href="https://3techagency.com">3techagency Inc</a>`](https://3techagency.com) now scaling up to provide turnkey solutions to users. ⚗️🧪

Specialized in marketing.
NodeJS PostgreSQL (Bahasa Indonesia) Bagian 2
Tags: javascript, node, postgres
Published: 2022-08-05 14:53:25

Hai ketemu lagi, ini merupakan tulisan kedua dan lanjutan dari tulisan sebelumnya [NodeJS PostgreSQL (Bahasa Indonesia) Bagian 1](https://dev.to/jutionck/nodejs-postgresql-bahasa-indonesia-bagian-1-5bgi).

#### Persiapan dan Instalasi
Praktik ini kita akan membuat sebuah database dengan nama `db_enigma_employee`

```sql
CREATE DATABASE db_enigma_employee
```
Setelah itu kita buat tabel nya terlebih dahulu dengan nama `m_employee`
```sql
CREATE TABLE m_employee (
   id serial primary key,
   first_name varchar(30),
   last_name varchar(50),
   dob date,
   pob varchar(50),
   address varchar(200)
);
```

Pada tulisan ini kita menggunakan library dari [nodejs-postgres](https://node-postgres.com/) sebelum itu silahkan siapkan dahulu project yang dibutuhkan dan lakukan `npm init` atau `npm init -y` dengan perintah berikut maka akan membuat sebuah file baru dengan nama `package.json` yang isinya adalah sebagai berikut:
```json
{
  "name": "nodejs-db-fundamental-pascal-9",
  "version": "1.0.0",
  "description": "Sample NodeJS with PostgreSQL",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "Jution Candra Kirana",
  "license": "ISC"
}
```

Setelah kita instal library nodejs-postgres nya dengan perintah berikut:
```
npm install pg
```
#### Memulai Penggunaan Library

Buat file baru misalnya `index.js` yang isinya adalah sebagai berikut:
```js
const { Client } = require('pg')
const client = new Client()
client.connect()
client.query('SELECT $1::text as message', ['Hello world!'], (err, res) => {
    console.log(err ? err.stack : res.rows[0].message) // Hello World!
    client.end()
});
```
Jalankan di terminal dengan perintah:
```shell
node index.js

Hello world!
```

Sampai disini dulu ya, tulisan berikutnya adalah **Koneksi ke Database**

**_[by] Jution Candra Kirana_**
BNPL for B2B SaaS
Tags: stripe
Published: 2022-08-05 14:20:33

Hey guys, we are Dubai based startup building a BNPL checkout for B2B SaaS providers to help them sell 2x more annual subscriptions by letting their customers spread the cost of annual subscriptions.

We now have 7 beta-testers ready to launch, however, we don't want to let them in before a proper test.

So, we are looking for someone with a Stripe business account to go through the flow and connect their Stripe to check our underwriting model in play. This, of course, won't affect your account in any way, it's an official API from Stripe.

Founders asking for help, help your peers succeed in these harsh times!
Hello World (a phoenix egg cracks)
Tags: programming, beginners, webdev, opensource
Published: 2022-08-05 13:43:00


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/whzkba5hblup8013zvkr.png)
**Hello World, hello you, hi, I am me**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n22l2tbcferi6lm485mh.png)
My name is Sean Feiner. I don't want it to be. Eventually it will be Séancé Michael Ohlsson, but that is not a discussion for here. I am an insane generalist. I know an inch deep (and as a toplogist i'll tell you this is a lie, i know many miles deep), but the width and breadth of what I know is not a mile wide, but rather a graph stretching the entire surface of a small planet, not earth...but certainly not much smaller. 

What the hell with this be? I honestly don't know. I have a lot of experience and past lives as a writer. A science writer in high school and college. A writer and curator of and about art and music in my early career and still to this day. An educator and academic writer in science and technology studies. 

As developer / engineer and educator I have also had lots of experience writing. Writing for documentation, writing for myself, writing code, and meta writing on these things. This is especially important when it comes to teaching new devs, or sustaining current devs in the industry and building towards bigger and better solutions that are sustainable and healthy. Current market driven capitalism and especially the ecology of web 2.0 platforms, web 2.5 wrappers and platforms, and web 3.0 is a joke. Its garbage. We deserve better. I dream of a new internet and I hope to share something about that here with you. 

stay tuned for more


Love light and blessings, 

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

email: seanfeiner[dot]dev[at]gmail
calendly: https://calendly.com/seancemichael/30min
What's the difference between Front-end and Back-end development?
Tags: anonymous, discuss, help
Published: 2022-08-05 13:41:07

_This is an anonymous post sent in by a member who does not want their name disclosed. Please be thoughtful with your responses, as these are usually tough posts to write. Email sloan@dev.to if you'd like to leave an anonymous comment or if you want to ask your own anonymous question._ 

***

I'm brand new to development and am trying to understand the difference between front-end and back-end development.

I think I kinda understand that front-end is what the user sees and back-end is how the information is retrieved, but I imagine there's a bit more to it than that. I would really appreciate hearing others' thoughts and explanations on this.

Analogies and examples would be very welcomed! Thank you all very much. 🙏
Icon Resources
Tags: design, icons, resources, uiux
Published: 2022-08-05 13:36:32

👋Hello
Here are Awesome icon resources😉

- [fonts.google.com](fonts.google.com)

- [feathericons.com](feathericons.com)

- [heroicons.com](heroicons.com)

- [tablericons.com](tablericons.com)

- [hicon.me](hicon.me)

- [majesticons.com](majesticons.com)

- [iconmonstr.com](iconmonstr.com)

- [coolicons.cool](coolicons.cool)

- [conoir.com](conoir.com)
This Week In Python
Tags: python, discuss
Published: 2022-08-05 12:55:36


**Fri, August 5, 2022**


This Week in Python is a concise reading list about what happened in the past week in the Python universe. 


## Python Articles


- [Crimes with Python Pattern Matching](https://www.hillelwayne.com/post/python-abc/)
- [7 things I've learned building a modern TUI framework](https://www.textualize.io/blog/posts/7-things-about-terminals)
- [Programming languages endorsed for server-side use at Meta](https://engineering.fb.com/2022/07/27/developer-tools/programming-languages-endorsed-for-server-side-use-at-meta/)
- [Python is Actually Portable](https://ahgamut.github.io/2021/07/13/ape-python/)
- [Python is Like Assembly](https://specbranch.com/posts/python-and-asm/)





## Projects

- [sshscript](https://github.com/iapyeh/sshscript) – Shell script-like Python Script
- [storysniffer](https://github.com/palewire/storysniffer) – Inspect a URL and estimate if it contains a news story
- [FigmaPy](https://github.com/Amatobahn/FigmaPy) – FigmaPy – An unofficial Python3+ wrapper for Figma API
- [github-action-utils](https://github.com/saadmk11/github-action-utils) – Collection of python functions that can be used to run GitHub Action Workflow Commands
- [pync](https://github.com/brenw0rth/pync) – arbitrary TCP and UDP connections and listens (Netcat for Python)
Agile is (mostly) rubbish
Tags: discuss, agile
Published: 2022-08-05 13:30:00

When I hired our first two devs for [Aista](https://aista.com) I asked them the following question; _"What is the least amount of process overhead we can get away with?"_ We agreed upon we needed a ticketing system, mostly to report tasks and bugs, and 15 minutes of standup meetings in the morning. That's _everything we do_ according to _"process"_. We don't have grooming sessions, velocity meetings, we don't assign commits to specific tasks, we don't do sprint meetings, and in fact we don't even have sprints. 95% of our commits are _straight to master_. My _"sprint evaluation process"_ is doing a git pull at night, QA checking what we did this day, and that's it! In fact, the way we work is (almost) as follows.

![We do epic stuff](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k3o75dhlbnirqabutp04.jpg)

When we have meetings, we try to reduce the participants to a minimum, to avoid creating noise. We don't have formal sprints, and we sure as hell don't follow any _"agile software development model"_. To understand why is to understand the Mythical Man Month.

> One developer can do in one month what two developers can do in two months

A great engineer working for IBM said the above sentence, after having studied what makes software projects succeed, what makes them fail, and why some software projects are slower than others - And his conclusion was the above sentence. Read it once more if you didn't find it contradictory ...

## Process overhead is the root of all evil

For a company with 500 employees, obviously having some sort of formal process becomes inevitable. However, for a startup where there's one or maximum two of us working on the same git repository at the same time, adding process overhead simply results in reduced velocity, and adds nothing of value. We even created t-shirts for the whole crew to drive home the point. You can see our wearables at the top of this article.

> At Aista we don't have time for superstitious rubbish!

I have worked with software development companies where I had to spend 4 hours in meetings every day. When you're a production worker, obviously spending 4 hours in meetings every day is about as productive as sleeping at home. Facts are, _"Agile software development model"_ has become a joke, and an ironic joke about itself.

> There's nothing that's as little "agile" as your average "agile software process"

Forget about Agile, **do epic sh\*t**, period!