teleren/devto huggingface dataset:
🗞 Rapyd Developer Newsletter: June 2023
Tags: webdev, fintech, payments, rapydnews
Published: 2023-07-18 19:16:17


Rapyd U Office Hours: Request Signature, CURL, Evolution of Payments
[Watch the recap](https://www.youtube.com/watch?v=OCHgzXvILBI&pp=ygUHcmFweWQgdQ%3D%3D) of last month’s Rapyd U Office Hours live stream. Learn how to generate a Signature Request in Python and CURL. 

Rapyd Developer Community Livestream  
[Join Rapyd team members](https://discord.gg/qaRF9g8b6B?event=1130909025517707346) and other developers in Discord on Thursday 6/29/23 at 11 AM PDT to learn about the Rapyd API, and a short tutorial intro. Come learn about how to integrate with Rapyd, and ask your questions to get help. 

Rapyd Developer Bug Bounty
[Calling all developers](https://bugcrowd.com/rapyd) to pressure test the Rapyd API, security and systems. Sign up through the Client Portal, obtain your API keys, and begin testing through any integration method. 

DISCOVER 🔍
------------------------------
Rapyd Changelog: Error Responses, Payout Status Tracker, Creating an Additional Account
[Follow recent updates](https://www.youtube.com/watch?v=f1iR8bbsDm8) to Error Responses, Payout Status Tracker and more.

Why Choose Rapyd: The Rising Star in API-First Companies 
[Learn why Rapyd](https://community.rapyd.net/t/why-choose-rapyd-the-rising-star-in-api-first-companies/) can be your all-in-one solution for fintech.

Guide to Building, Validating, and Styling Flutter Forms
[Learn how to](https://community.rapyd.net/t/guide-to-building-validating-and-styling-flutter-forms/58734) quickly build and style forms using Flutter. 

Payment Methods with FX
[Learn how](https://www.youtube.com/watch?v=Y5R3yL2wu9c) different bank payment methods work with FX. 

Cross-Border Payments
[Watch and follow](https://www.youtube.com/watch?v=94I--zMs13g) along with a cross-border payment. 

Handling Trial Periods with the Rapyd Collect API
[Create a subscription](https://community.rapyd.net/t/handling-trial-periods-with-the-rapyd-collect-api/58737) payment with trial periods with the Rapyd API. 

CHANGELOG 📣
------------------------------
The Rapyd API has been updated to allow clients to simulate error responses for Redirect Payments and the Toolkit in Sandbox.

The Hosted Payout Tracker page has been updated to now include an estimated date of arrival of funds for the beneficiary, or recipient.

The create payout process has been updated to allow the sender to fix the sender details while creating a payout. 

Following the development for multi-merchant clients. Clients can now create another Rapyd account with their existing user.

[Read the Docs](https://docs.rapyd.net/build-with-rapyd/changelog/error-responses-payout-status-tracker-creating-an-additional-account)
 
Thanks for reading, 

The Rapyd Community Team 👋

> Skip the noise and get Rapyd's latest developer news and fintech education straight to your inbox. [Sign up now](https://go.rapyd.net/dev-newsletter).
TALL Stack: the dreamland for a Laravel developer
Tags: laravel, livewire, alpinejs, tailwindcss
Published: 2023-07-18 19:13:50

---
title: TALL Stack: the dreamland for a Laravel developer
published: true
description: Why I am using TALL Stack for my applications
tags: Laravel, Livewire, Alpinejs, Tailwindcss
canonical_url: https://ariaieboy.ir/blog/tall-stack-the-dreamland-for-a-laravel-developer/
---
As a Laravel developer from the WordPress + Bootstrap + Jquery era, TALL Stack looks like a DreamLand for me.

TALL Stack stands for TailwindCSS + AlpineJS + Laravel + Livewire.

Livewire home page says :
> Building modern web apps is hard. Tools like Vue and React are powerful, but the complexity they add to a full-stack developer's workflow is insane.

And that's true; didn't you miss the era of learning a single library like Jquery for the whole front end or just BootStrap for styling the web pages?

Why should I learn a new library (Ex. React) and another framework (Ex. Nextjs) to build a simple CRUD app when I can use the Tech Stack I already know?

With TALL Stack, I can build web apps at full speed, and all I need is my Blade templates and Laravel BackEnd no need for extra CSS files or multiple JS files and bundlers.

All developers want to build an app that works perfectly in the shortest possible time. TALL Stack is blazing fast in the development phase; with some tweaks and packages like Laravel Octane, it's also fast and scalable in production.

If you do a quick search about the TALL Stack, you're going to see lots of articles that show the Pros and Cons of this Stack, but in the end, the only thing that matters is that your apps are going to build very fast and work like a charm without you needing to learn hell lots of new technologies.

The TALL Stack is created by members of the Laravel community, providing users with access to all the benefits of Laravel, including its great community, excellent documentation, and numerous third-party libraries and plugins.

As a Solo Developer, the TALL Stack is my dreamland of programming.

With the release of the 3rd version of TailwindCSS and Alpinejs, now TALL Stack is better than ever, and Livewire v3 is around the corner with lots of new goodies. If you are a Laravel developer, it's the best time to jump in and try this Stack. And get ready for the Livewire v3 release.

If you are interested to learn more about TALL Stack, here is some excellent link that you can check out:

[CSS Utility Classes and "Separation of Concerns" By Adam Wathan the creator of TailwindCSS](https://adamwathan.me/css-utility-classes-and-separation-of-concerns/)


[[video] From Vue to Alpine: How & Why By Matt Stauffer - Partner & CTO, Tighten](https://youtu.be/yZv-7DWLMNA)


[[video] The future of Livewire By Caleb Porzio](https://www.youtube.com/watch?v=f4QShF42c6E&t=6014s)


[[video] Laravel for millions, and some… By Ashley Hindle](https://www.youtube.com/watch?v=0Rq-yHAwYjQ&t=31692s)
The impact of a recession on the life science staffing
Tags: staffing, lifescience
Published: 2023-07-18 16:53:43

The impact of a recession on the [life science staffing](https://www.softpath.net/life-science.html) and staff augmentation category can vary depending on several factors. Here are some potential effects:

Reduction in Hiring: During a recession, many organizations may experience financial constraints and a decrease in overall hiring activities. This could result in a reduced demand for staffing services in the life sciences sector, as companies may cut back on their workforce expansion plans or delay new projects.

Increased Competition for Jobs: With a decrease in available job opportunities, there may be a higher number of qualified professionals seeking employment in the life sciences industry. This increased competition for limited positions can make it more challenging for staffing agencies and individuals to secure suitable roles.

Temporary Workforce Reduction: In an effort to control costs, some life sciences organizations may opt for temporary workforce reduction strategies, such as furloughs or reduced hours for employees. This could lead to a decrease in demand for staff augmentation services as companies focus on optimizing their existing workforce.

Focus on Core Competencies: During a recession, organizations may prioritize core competencies and essential functions, leading to a decreased need for specialized or non-essential positions. This could result in reduced demand for staffing services in certain areas of the life sciences industry that are considered non-critical during the economic downturn.

Shifts in Industry Priorities: Economic recessions can prompt shifts in industry priorities and resource allocation. Life sciences companies may redirect their focus towards cost-saving measures, streamlining operations, and strategic investments. This may impact the demand for staffing services in specific areas, such as research and development, clinical trials, or regulatory affairs, depending on the organization's strategic priorities during the recession.

Potential Opportunities in Cost Optimization: While overall demand may decrease, there could still be opportunities for staffing agencies to provide cost-effective solutions to organizations looking for temporary or project-based staffing. Companies may seek more flexible staffing arrangements, such as contract-based or contingent workforce models, to maintain operational efficiency while managing costs.

It's important to note that the impact of a recession on the life science staffing and [staff augmentation](https://www.wydur.com/staff-augmentation) category can vary based on the severity and duration of the economic downturn, as well as the specific dynamics within the life sciences industry. It is advisable for staffing agencies and professionals in this sector to closely monitor industry trends, adapt their strategies, and explore new opportunities during challenging economic times.
Node.js morsel for today: Understanding Node.js timers
Tags: node, webdev, javascript, eventloop
Published: 2023-07-18 18:56:16

From the Node.js documentation, Node.js `Timers` are described as scheduling functions to be called at some future period of time.

Broadly, they refer to the `setTimeout`, `setInterval` and `setImmediate` functions. They are further broken into subgroups defined by the phase of the event loop their handle callbacks are executed.

### What are `Handle` callbacks?

[Handles represent long-lived objects capable of performing certain operations while active](http://docs.libuv.org/en/v1.x/design.html#handles-and-requests).

Invoking a timer creates a `ref’ed` handle by default. A `ref’ed` handle is an active handle with the callback not yet executed.

```js
const immediateHandle = setImmediate(() => {
  console.log('SetImmediate Handle Callback')
});
// Log immediateHandle gives us the handle object
// Immediate {
//   _idleNext: null,
//   _idlePrev: null,
//   _onImmediate: [Function (anonymous)],
//   _argv: undefined,
//   _destroyed: false,
//   [Symbol(refed)]: true,
//   [Symbol(asyncId)]: 2,
//   [Symbol(triggerId)]: 1
// }
```

The `immediateHandle` logged out in the code snippet shows 2 properties that are important to the `Event Loop`.

* `_onImmediate`: this is the callback that will be invoked. `setTimeout` has `_onTimeout`.
    
* `Symbol(refed)`: this shows that the handle is active. It becomes `null` when not active.
    

The `timers` `Event Loop` phase is where the callbacks of the handles created by the `setTimeout` and `setInterval` functions are called.

The `check` `Event Loop` phase is where the callbacks of the handles created by the `setImmediate` functions are called.

The `_onImmediate` callback is invoked on the next iteration of the `Event Loop`.

The `_onTimeout` callback is invoked when the current `Event Loop's` iteration concept of `now` is ahead of the scheduled time based on the `setTimeout` threshold.
CSS morsel for today: understanding CSS initial values using the unset keyword
Tags: css, unset, webdev, beginners
Published: 2023-07-18 18:54:55

From its description in the [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/unset) docs, the `unset` CSS keyword is described as a way to reset a CSS property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.

To understand what this means, say, in a contrived scenario, we are using a CSS media query to render a CSS class that behaves differently on mobile and desktop screens.

```css
.Socials__wrapper--mobile {
  display: flex;
  align-items: center;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 3.4375rem;
  background-color: #fffdf9;
  z-index: 1;
}
```

The snippet above is meant to run on mobile screens. It is also the default styling for the class `Socials__wrapper--mobile`. But we want the `Socials__wrapper--mobile` to behave differently on desktop screens. We do not want certain property values to carry over to desktop styling. On the desktop, we don't want `bottom`, `right`, `height`, or `width` to be defined. We do this by setting these properties to `unset` in the media query as shown below.

```css
@media only screen and (min-width: 1024px) {
  /* This should run on tablets and desktops.  */
  .Socials__wrapper--mobile {
    bottom: unset;
    right: unset;
    width: unset;
    height: unset;
    background-color: #fffdf9;
    z-index: 1;
  }
}
```

Note that the properties `bottom`, `right`, `width`, and `height` is referred to as `non-inherited` properties. This means that they don't automatically inherit their values from the encapsulating parent element like say a `color` property would. And because of this, assigning `unset` to them means the browser (also referred to as the user agent) assigns the default values defined in the CSS specifications to the properties.

The initial value for the `box-model` (width, height) and `position` (top, bottom, etc) properties as defined in the specification is `auto`. If we replace the `unset` keyword with `auto` we get the same effect.

```css
@media only screen and (min-width: 1024px) {
  /* This should run on tablets and desktops.  */
  .Socials__wrapper--mobile {
    bottom: auto;
    right: auto;
    width: auto;
    height: auto;
    background-color: #fffdf9;
    z-index: 1;
  }
}
```

It is important that `auto` is the keyword to signify that the browser (user agent) needs to compute this property automatically taking into consideration the context and content. The context could be the behaviour of the parent element.
AgensSQL:
Tags: postgres, database
Published: 2023-07-18 18:27:21

## **Introduction:**
AgensSQL is an open-source, multi-model Graph database that is built on top of the PostgreSQL database management system. It provides a highly scalable and flexible platform for managing and querying complex data structures, including graphs, trees, and key-value pairs. In this report, we will explore the features and capabilities of AgensSQL, and how it can be used to manage complex data structures.

## **packages**
- pgpool-II: middleware for connection pooling, load balancing, and high-availability using replication
- PostGIS: adds support for geographic objects to enable location queries in SQL
- PgBouncer: a lightweight connection pooler for PostgreSQL using session and transaction pooling
- PGQ: a queueing solution for asynchronous batch processing without blocking live transactions
- PL/Proxy: a database partitioning system implemented as a PL Language
- pg_hint_plan: controls execution plan using hinting phrases
- POWA: PostgreSQL Workload Analyzer that gathers performance stats and provides real-time charts and graphs for monitoring and tuning PostgreSQL servers
- Pgloader: loads data into PostgreSQL using the COPY streaming protocol from MySQL, SQLite, or dBase
- Orafce: a module with all Oracle functions and operators compatible with Oracle.


## **Some Features:**
- Multi-Model Database: AgensSQL supports multiple data models, including graph, document, key-value, and relational databases.
- High Availability: AgensSQL supports high availability through replication and failover mechanisms.
- Integrated Query Language: AgensSQL provides an integrated query language that allows for the querying of multiple data models in a single query.


## **Pros**
- Document Management: AgensSQL supports document management, allowing for the storage and retrieval of unstructured data.
- Key-Value Pair Management: AgensSQL supports key-value pair management, allowing for the storage and retrieval of simple data structures.
- Multi-Model Querying: AgensSQL allows for the querying of multiple data models in a single query, providing a powerful and flexible platform for data analysis.
Why I love embedded systems
Tags: career, beginners
Published: 2023-07-18 18:03:03

Hi all,

Since my childhood, I've had a deep fascination with machines. I recall attending LOGO classes and running programs on LEGO toys, a delightful experience that eventually led me to pursue a career in computer engineering during college.

After graduation, I embarked on a rewarding journey as an embedded systems developer. This career choice perfectly suits those who enjoy blending their software and hardware knowledge.

However, I must admit that working on embedded projects is no easy task. The challenges can be diverse, ranging from hardware issues to software glitches, or sometimes a combination of both. Yet, the joy and fulfillment that come from witnessing people using a product you helped create are simply indescribable.

One of the most captivating aspects of embedded systems is their omnipresence. They are found in an array of devices, including point-of-sales systems, smartwatches, self-service totems, airplanes, automobiles, IoT devices, and much more. As an embedded systems developer, you get the extraordinary opportunity to have an impact in almost every corner of modern life.

Aside from the emotional rewards, it's essential to consider the vast potential of the embedded systems market. With estimations suggesting it will reach a value of 173 billion US dollars by 2032 (compared to the current 98 billion US dollars), there is a tremendous amount of work awaiting skilled developers in the coming years (source: https://finance.yahoo.com/news/embedded-system-market-predicted-garner-205200598.html?guccounter=1&guce_referrer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8&guce_referrer_sig=AQAAADUf2q_aElNoDzxcyIllMJudn9oOKHNQJMOQtCNW2WBO6M3QiItxzQQuF4yhVIhGjgvB6GqnfArk_UPg27ZQ1HjEWinvf3vznthA7Dpmz4QDKpHvenc65tUVzbfEGmw4C6wHs6pBgF6sbldEnsAeITkpU9fusYqPf8Lj4RDHVe7Z).

If you're considering starting a career in embedded systems, I highly recommend beginning with a solid foundation in C/C++ programming and gaining a thorough understanding of electronic and hardware concepts. Development boards like Arduino and Raspberry Pi can prove immensely helpful in facilitating the learning process.

Wishing you all a happy and fulfilling journey in the world of embedded systems! :-)
GoodWeek smart contract
Tags: ethereum, smartcontract, blockchain, solidity
Published: 2023-07-18 18:00:09

> An MIT-licensed smart contract containing a public String variable named “message” which is initialised with “**Have a good week!**” to wish you a great week.


```
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract GoodWeek {
    string public message= "Have a good week !";
}
```

---
If you like the article and would like to support me, make sure to:

📑 View more content on my [dev.to](https://dev.to/sethlawson) Profile

🔔 Follow Me: [LinkedIn](https://linkedin.com/in/sethlawson)| [GitHub](https://github.com/SethLawson07) | [Twitter](https://twitter.com/0xSethLawson)

🚀 Help me in reaching to a wider audience by sharing my content with your friends and colleagues.
Projeto do Homem-Aranha
Published: 2023-07-18 17:56:15

Fiz um projeto do Homem-Aranha Multiverso usando CSS, HTML e JavaScript, vou deixar o link no LinkedIn para vocês poderem ver como ficou, aceito sugestões e feedbacks, obrigado !

- 
[Linkedin https://www.linkedin.com/feed/update/urn:li:activity:7087124155275390976/?commentUrn=urn%3Ali%3Acomment%3A(ugcPost%3A7087123742463582209%2C7087126770633588736)&dashCommentUrn=urn%3Ali%3Afsd_comment%3A(7087126770633588736%2Curn%3Ali%3AugcPost%3A7087123742463582209)](url)
How to update Docker and Docker Compose on Ubuntu
Tags: docker, ubuntu, beginners, linux
Published: 2023-07-18 17:54:54

## Updating Docker:
On Linux, you can update Docker using the package manager used to install it. For example, if you installed Docker using the apt package manager, you can update it using the following commands:

```linux
# Update the package index
sudo apt update

# Upgrade Docker
sudo apt upgrade docker-ce
```
If you installed Docker using another package manager like yum or dnf (for CentOS/RHEL) or pacman (for Arch Linux), use the respective package manager's update command.

On macOS, you can update Docker by downloading the latest Docker Desktop application from the Docker website and installing it.

On Windows, you can update Docker by downloading the latest Docker Desktop application for Windows from the Docker website and installing it.

## Updating Docker Compose:
Docker Compose is a separate tool from Docker itself, and it requires a separate update process. To update Docker Compose, you can use the following commands:

```linux
# Check the current version of Docker Compose
docker-compose version

# Download the latest version of Docker Compose
sudo curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

# Apply executable permissions to the binary
sudo chmod +x /usr/local/bin/docker-compose

# Verify the installation
docker-compose version

```

The above commands will download the latest version of Docker Compose and replace the existing one, if any.

Note: Before updating any software, it's always a good practice to check the official documentation for any specific instructions or compatibility requirements.

Additionally, make sure to back up any important data or configurations related to Docker and Docker Compose before performing the update to avoid any potential data loss or conflicts.
Story Of Shallow and Deep Copies With Respect To Javascript.
Published: 2023-07-18 17:46:36

"If we talk about shallow copies and deep copies in the context of JavaScript arrays, the first statement that comes to mind is that all standard built-in copy operations with JavaScript objects create shallow copies, rather than deep copies.

Now, let's look into the definitions of both these types of copies:

Shallow Copies:
A shallow copy of an array is a new array that contains references to the same objects as the original array. If you modify one of the objects, the changes will be reflected in both the original and the copied array.

Deep Copies:
A deep copy of an array is a new array that contains copies of the objects in the original array. If you modify one of the objects in the copied array, the original array will remain unchanged.

Shallow vs Deep Copies of an Array:

Advantages of Shallow Copies:

Shallow copies are faster to create than deep copies, as they only copy the references to the original objects.
Disadvantages of Shallow Copies:

Changes made to the original object also affect the shallow copy, as they share the same references.
Advantages of Deep Copies:

Deep copies create a completely new object with its own references, allowing for changes to be made independently of the original object.
Disadvantages of Deep Copies:

Deep copies are slower to create than shallow copies, as they copy all of the objects within the array.

I hope now you have a clear understanding of both shallow and deep copies. Keep learning and happy coding!"
What emerging web development trends do you believe will have the biggest impact in the near future?
Tags: webdev, javascript, typescript, react
Published: 2023-07-18 17:43:09

> The field of web development is constantly evolving, with new technologies, frameworks, and methodologies emerging at a rapid pace. Staying up-to-date with the latest trends is essential for developers to create innovative and cutting-edge web experiences.

## What emerging web development trends do you believe will have the biggest impact in the near future?