teleren/devto huggingface dataset:
Gains to Replace ExpressJS with AexJS
Tags: node, javascript, typescript, webdev
Published: 2022-11-07 16:32:32

Someone asked me: what can he gain from aex over express.js?
It is a very good question and it can also be the reason why the aex framework comes into existence.

Although most Node.js developers use expressjs as their base web server framework and ExpressJs has a very good community and a lot of middlewares existed, it is still lack some important features web developers may need. This makes expressjs web development more difficult and chaotic when projects grow.

So I would like to introduce the new web framework for node.js web development: the [aex](https://github.com/calidion/aex) web framework, and its gains over expressjs to see how aex ease the way for node.js web server developers:

## Focus on your own business instead of web processing.
Aex enables Object Oriented Web development in node.js. And only focus on web processing, so you can focus your time on your business instead of how to handle web requests.

```ts
class Factory {
  public name: string;
  constructor() {
    this.name = "Aex Factory";
  }
  @get("/factory/name")
  public async getName(req, res, scope) {
    res.end(this.name);
  }
}
```

Here you, only need to focus on your business factory. Http processing can be silently done out side of your business class's member functions.

## Simplified Web processing tools with decorators.

http requests, error handling, data filtering and file uploading, etc.

for example a simplified file upload:
```ts
import { http, formdata } from "@aex/core";

class Formdata {
  protected name = "formdata";

  @http("post", "/file/upload")
  @formdata()
  public async upload(req, res, scope) {
    const { files, body } = scope;

    // Access your files
    const uploadedSingleFile = files["fieldname1"][0];
    const uploadedFileArray = files["fieldname2"];

    // Access your file info

    uploadedSingleFile.temp; // temporary file saved
    uploadedSingleFile.filename; // original filename
    uploadedSingleFile.encoding; // file encoding
    uploadedSingleFile.mimetype; // mimetype

    // Access none file form data
    const value = body["fieldname3"];
    res.end("File Uploaded!");
  }
}
```

## Separating Web Processing from Web Data with `scope` Object

Aex provide a global variable -`scope`, per request for every process to store, retrieve and pass data to its following process.

## Compatible with most reentrant express middlewares.

## about 15% performance improvement over express 4.x.
Here is the benchmark tests: https://github.com/aex-ts-node/benchmark

## A new theory: the Web Straight Line theory over MVC theory.
MVC is not a proper theory for web frameworks.
There are at lease two types web frameworks: 1. web processing frameworks, 2. web application frameworks.

the Web Straight Line theory is for the web processing frameworks, not for web application frameworks where MVC has its place.

You may find more [here](https://github.com/calidion/aex).
Making Chefluencer Website
Tags: jamstack, html, css, netlify
Published: 2022-11-07 16:28:02


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

Just in time to make this landing page for Chefluencer.
Still trying to figure out what platform for sharing food recipe. End up using whatsapp and manual order process. 

You can download here to try: [https://github.com/fajarsiddiqfs/Chefpapajoh](https://github.com/fajarsiddiqfs/Chefpapajoh)
Anyone using Supabase?
Tags: supabase, postgres, sql, dbzaps
Published: 2022-11-07 16:18:01

Hey there!

My buddy Giacomo and I love **Supabase** and found that people using it are creating a lot of cool projects.

It is mostly used by **Indie hackers / technical founders** working on a few bootstrapped projects.

We realised that pretty much everyone is focusing on **growth** and **speed**.

From our experience there is often a lot of insights that you can get from your data, but you do not have time to wrestle with SQL joins.

So we launched [DBzaps.com](https://dbzaps.com/?utm_source=dev.to), simple analytics tool to create chart from your database's data.

Would love your feedback!
Cheers - Pietro
What are you learning this week?
Tags: discuss, beginners, webdev
Published: 2022-11-07 16:15:59

---
title: What are you learning this week?
published: true
description: 
tags: discuss, beginner, webdev
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2022-11-01 17:43 +0000
---

It's a new week to learn something new! What are you exploring this week?
Amplify Your Site with Efficient Searching
Tags: search360, webdev, beginners
Published: 2022-11-07 16:13:39

Site Search 360 is a solid tool that can help with the efficiency and user experience of your site despite having accumulated several different pages (HubSpot blog, Zendesk, Shopify Store, ETC...).

Here's the dealio. First group like content with like content. (For example, put articles, Youtube videos, and blogs under the same dedicated tab).

Once that's complete, you'll just enter the URL patterns of the page subsets you'd want in the same tab. You can XPaths to specific elements found across all of the pages and then give your group of pages a name. DONE!
How to win Gsoc?
Tags: opensource, programming
Published: 2022-11-07 15:54:53

[](url)
1. What are the prerequisites to apply for Gsoc?
2. Is windows OS mandatory for Gsoc?
3. What are the beginner friendly oranganization to contribute?
4.can i crack Gsoc if i don't have enough knowledge of software deployment, testing,debugging and all that stuffs?

****
ADHD and being a programmer
Tags: mentalhealth, adhd, discuss, life
Published: 2022-11-07 15:51:20

My skills are a little bit different in every regard because I have ADHD. As soon as I become interested in something, I make every effort to educate myself on it. I've always behaved that way. My father used to tell me as a child that I was "addicted to addicts" because I was unable to stop playing with any toy, video game, or other passion of mine until the day that I just quit enjoying being drawn to those things.

Now that I am an adult software developer and Computer Science student graduating college, it's a daily but gratifying struggle to maintain my interest in these types of things. In programming, I discovered an endless world. Am I free? I am starting to use Vim. Do I have free time? I'll read some topics about computer science, and it's been that way since I started. Sure, there are days when I am highly focused and productive. But there are also days when I just want to take a deep breath and focus on something else. I do not know how you have been or if you are going through something like that right now. But if so, we have something in common.

I have been in treatment and taking pills since my psychiatric doctor concluded after a few sessions that I have ADHD, and the process has been amazing. I was so anxious about everything, and that took a toll on me. That's gotten better now; of course, I am still an anxious person, but not like I used to be. What I am saying is that we draw a parallel between love and disinterest when it comes to programming and all of our fluid but solid passions. There are days and days. We must celebrate the good and productive days.

I would love to hear more stories about programmers with ADHD. Please feel free to comment below and tell about your struggles and how you daily deal with ADHD, or whatever you feel free and comfortable talking about.
Do You Understand Why The Key To Controlling Complexity is Abstraction?
Tags: abstraction, oop, architecture
Published: 2022-11-07 15:46:42

## Software Architecture Hour
I'm watching [The Software Architecture Hour with Neal Ford with Guest Martin Fowler](https://learning.oreilly.com/videos/software-architecture-hour/0636920675587/0636920675587-video337725/)(on O'Reilly).

## Key To Controlling Complexity
Fowler said a couple of very interesting things about abstraction that get to the root of OOP.

> "...the key to controlling complexity in software is the ability to build abstractions for your particular circumstance and then be able to evolve those abstractions and use those abstractions to write & compose into better solutions." 


He then said this about on Spreadsheets / Spreadsheet environments (like MS Excel)...

> "one of the most successful programming environment...the most widely used programming environments that is out there is spreadsheets. For relatively simple tasks they can be very effective. But again, this inability to create your own abstractions... The fact that you all the time have to work at the level of rows & columns does end up getting in the way."

## One-Off Solutions and Quick Solutions
Often, people who write one-off solutions or who see the solution too simplistically (from a higher level, like a manager) think you are wasting time Engineering or Designing a solution that works to solve a Class of Problems.

> "If you can't build your own abstractions, you're not going to be able to tackle anything of serious complexity."

## Next-Level Software Development
Understanding how to solve Classes of Problems so you can build one Solution that solves many problems is key to getting to the Next Level.
Every website looks the same, and that’s ok
Published: 2022-11-07 15:38:17

Web Design goes through cycles.

A common complaint designers have is that every website looks the same. 

And I am sure you have noticed it too. Most websites follow the same formula:

- Big image with text
- Small paragraph
- Logo to the left or in the middle
- Small CTA in the bottom right corner


<figure><img src="https://d37oebn0w9ir6a.cloudfront.net/account_1580/Capture-2022-11-07-102529_c95d064334609aea0482de0f0fc16ba9.png"/><figcaption>I chose a random website. Allbirds was the first brand I thought of. </figcaption></figure>

This is proof that web design is becoming bland for some designers. Or that we have placed creativity on the back burner.

Nonsense.

We are in a design cycle. All websites are supposed to look the same for a few years.

While I still sometimes wish the  [Flash Websites era](https://www.webdesignmuseum.org/flash-websites) would come back. The web has become more accessible and user-friendly in recent years - and I think that is more important than crazy layouts.

<figure><img src="https://d37oebn0w9ir6a.cloudfront.net/account_1580/Capture-2022-11-07-102122_d0447679c7d6aba1ce31af61d2f2959c.png"/><figcaption>The first page of the [Web Design Museum](https://www.webdesignmuseum.org/flash-websites) showcasing flash websites</figcaption></figure>

I love visiting  [Awwwards](https://www.awwwards.com/); there are a lot of designers doing unique websites. But most of those websites are dead a few years in. In my opinion, that is because the design is placed before business needs.

And the most crucial business need is to make the website easy to use.

I think bootstrap and foundation have shaped web design looks for the better. Tailwind is doing its part. But these frameworks should be used as starter files, not as the design system itself.

Only then can web design push the limits of creativity

Books haven’t changed much in centuries. Let’s take a page out of that book. Pun intended.

​

Small Addendum. I visited Awwwards while I was looking for examples. They Changed the nav bar to a dynamic floating island at the bottom. It took me forever to be able to visit a site.

While it is not a big deal when visiting a design site. They would have lost my business if it were an eCommerce or a service website.

<figure><img src="https://d37oebn0w9ir6a.cloudfront.net/account_1580/Capture-2022-11-07-102707_0450016d565b2e417cf02ce8bb2ba244.png"/><figcaption>How do you even navigate this site??</figcaption></figure>
Performant Technology Stacks For Successful Ecommerce Development
Tags: ecommerce, ecommercedevelopment, ecommercewebsite
Published: 2022-11-07 15:29:55

Making The Best Technology Stack Decisions For E-Commerce Development
It goes without saying that picking the best technological stack to enable your e-commerce development is far from simple. This obstacle, however, does not allow you to choose not to have a digital store. Businesses that only have an offline presence are losing out on many opportunities, according to the market and shopping trends now in place. It is essential for businesses to have an online store because it increases exposure, sales, and traffic.


As a result, you must figure out how to overcome these obstacles and choose the best technological stack for your needs. As a seasoned professional eCommerce developer, I've worked with a variety of tech stacks and seen what works and what doesn't. So here, I'll aid your education.

It goes without saying that picking the best technological stack to enable your e-commerce development is far from simple. This obstacle, however, does not allow you to choose not to have a digital store. Businesses that only have an offline presence are losing out on many opportunities, according to the market and shopping trends now in place. It is essential for businesses to have an online store because it increases exposure, sales, and traffic.


As a result, you must figure out how to overcome these obstacles and choose the best technological stack for your needs. As a seasoned professional ecommerce developer, I've worked with a variety of tech stacks and seen what works and what doesn't. I will therefore assist you in learning everything about selecting the ideal stack for your shopify store.

Click on the following link to read the full article https://ecommercefastlane.com/performant-technology-stacks-for-successful-ecommerce-development/
What are your goals for the week of November 7?
Tags: watercooler
Published: 2022-11-07 15:28:03

What are your goals for this week? 

- What are your goals for the week?   
- What are you building? 
- What will be a good result by week's end?
- Did you meet your goals last week?

**Last Week's Goals**
 How did I do?

- [:white_check_mark:] **Continue Job search.** Got some introductions, talked to some people, preinterview stuff, Got a couple no thanks. Applied to a couple jobs.
- [:x:] **Do some code challenges.** No challenges. 
- [:white_check_mark:] **Write blog posts.** Blogged about HacktoberFest.



**This Week's Goals** 

- Continue Job search.
- Do some code challenges.
- Write blog posts. Virtual Coffee has a blogging Challenge for the month. Inspired by NaNoWriMo we're trying to as a group hit 100,000 words for the month. I plan to write at least one blog post a week. 
- Secondary monthly goal is to beat my word count for last year. It was 3,511. (currently at 766)
- Support VC members with monthly Challenge.
- Attend VC, ~~Taylor Desseyn's Guidance Councilor podcast~~ (edit he's speaking at a conference), JobScan webinars, and GitHub Universe sessions.


```
-$JarvisScript git push
```
Outsytems Data Types
Tags: lowcode, outsytem, beginners
Published: 2022-11-07 15:20:01

Hi folks in this article I will show you the different data types in Outsystems:

```
Binary Data: Byte array with no elements
Boolean: false or true
Currency: 0.0
Date: #1900-01-01#
Time: #00:00:00#
Date Time: #1900-01-01 00:00:00#
Integer: 0 to 2147483600
Long Integer: 0 to 5645245584135987412
Decimal: 0.0 to -158121.025 4000.0
Email: "empty string"
Phone number: "empty string"
Text: "empty string"
```

This is just post to keep in mind the different data types you can use in the platform.
Choose the Right Type of Forceps: Adson Forceps Features and Types
Tags: healthydebate
Published: 2022-11-07 15:10:16

**Major Types Of Adson Forceps 
**
**Adson-Brown
**
This variation slightly differs from the general forceps. The difference comes in the pattern of the teeth. These forceps have a ribbed pattern of teeth that are conjoined.

**Micro Adson Tissue Forceps
**As their name shows, this type of forceps approaches the minute and constricted parts of the wound site. The structure of these forceps allows them to handle the small portions of the injury. 

Learn more
[Type of Forceps](https://sco.lt/76xI3M)
Gitpod with YugabyteDB image
Tags: gitpod, yugabytedb, postgres, distributed
Published: 2022-11-07 15:06:21



This is a small doc from a [PR](https://github.com/gitpod-io/website/pull/2999) I submitted to Gitpod's how-to guides but they prefer to have only a few databases in this guide (PostgreSQL, MySQL, Redis, MongoDB). No problem, I'll post this doc here.

### YugabyteDB

If your project uses PostgreSQL, you can test it on YugabyteDB (Open Source PostgreSQL-compatible [Distributed SQL](https://www.yugabyte.com/tech/distributed-sql/) database) with the dedicated [YugabyteDB image](https://github.com/FranckPachot/workspace-images/blob/main/chunks/tool-yugabytedb/Dockerfile). Simply base your `.gitpod.dockerfile` on:

```dockerfile
FROM gitpod/workspace-yugabytedb
```

and call `ysqlsh` instead of `psql`. 

For the application, you connect to port `5433` instead of `5432`.

<br>

This image starts a single-node YugabyteDB server, and you can use the `ysqlsh` CLI like you would do with `psql`:

```bash
$ ysqlsh

ysqlsh (11.2-YB-2.14.0.0-b0)
Type "help" for help.

yugabyte=# select * from yb_servers();

   host    | port | num_connections | node_type | cloud  |   region    | zone  | public_ip 
-----------+------+-----------------+-----------+--------+-------------+-------+-----------
 127.0.0.1 | 5433 |               0 | primary   | cloud1 | datacenter1 | rack1 | 127.0.0.1
(1 row)

yugabyte=# 
```
## Example
I used this for a [previous blog post](https://dev.to/yugabyte/mastodon-on-yugabytedb-10o2) to test Mastodon with YugabyteDB instead of PostgreSQL. You can test it:
 [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#GITTAG=v3.5.3/https://github.com/FranckPachot/gitpod-mastodon-yb)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kb8em9ndumks7043jm1g.png)

## Multi-node

If you want to play with a multi-node, as you need multiple network interfaces, it is better not to use this image but start YugabyteDB nodes in docker, as I do in my [ybdemo](https://github.com/FranckPachot/ybdemo):

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/FranckPachot/ybdemo)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zzvk0vvua27xbsh8jn3l.png)
Home Buyer Houston
Published: 2022-11-07 15:02:28

We work differently at We Buy Houses in Tx . When you contact us and submit the short property information form (below), we’ll give you a fair all-cash offer on your house within 24 hours… and the best part is: we can close whenever YOU choose to close – it’s entirely up to you. It doesn’t matter what condition the house is in, or even if there are tenants in there that you can’t get rid of… don’t worry about it. We’ll take care of it for you. And if you need the cash quickly, we can close in as little as 7 days because we buy houses with cash and don’t have to rely on traditional bank financing.

If you want to [sell your Houston house](https://www.webuyhousesintx.com) we’re ready to give you a fair all-cash offer.
Stop the frustration of your unwanted property. Let us buy your Texas house now, regardless of condition.
Music Monday — What are you listening to? (Funk Edition)
Tags: watercooler, music, discuss
Published: 2022-11-07 14:59:06

_cover image source: [Gorillaz](https://giphy.com/gorillaz/)_

**We've [talked soul already](https://dev.to/music-discussions/music-monday-what-are-you-listening-to-soul-music-9kj) but what about funk? It's a genre that just makes you wanna move and groove... it's hard not to have a good time when the funk gets hold of ya. So, what kinda funk music are you into? Ya dig a big brash horns section, like the slap bass to slap ya across the face, or is it those sparkling clean guitars dancing right in the pocket that do it for ya? No worries if it doesn't fit cleanly into the genre, just find something that you find funky and drop it here for us!**


![Spaceship from Parliament's album "Mothership Connection" flys across the screen. The Funkadelic flag reading "One Nation Under a Groove" is waving the top right hand corner. ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fi903a3rsvnpnskxpws0.gif)

***

## How we do 

In this weekly series, folks can chime in and drop links to whatever it is they've been listening to recently + browse others suggestions.

If you like talking about music, consider following the org [#music discussions](https://dev.to/music-discussions) for more conversations about music!

{% embed https://dev.to/music-discussions %}

***

Let's bring the  funk! _Note: you can embed a link to your song using the following syntax `{% embed https://... %}`. This should work for most common platforms!_

I look forward to listening to y'all's suggestions! 🎶
tsParticles 2.5.3 Released
Tags: showdev, javascript, typescript, webdev
Published: 2022-11-07 14:41:28

## tsParticles 2.5.3

### Bug Fixes

- Fixed issue with reduce duplicates flag, fixes #4805

--

## Social links

- [Discord](https://discord.gg/hACwv45Hme)
- [Slack](https://join.slack.com/t/tsparticles/shared_invite/enQtOTcxNTQxNjQ4NzkxLWE2MTZhZWExMWRmOWI5MTMxNjczOGE1Yjk0MjViYjdkYTUzODM3OTc5MGQ5MjFlODc4MzE0N2Q1OWQxZDc1YzI)
- [Telegram](https://t.me/tsparticles)
- [Reddit](https://www.reddit.com/r/tsParticles/)

---

{% github matteobruni/tsparticles %}
Free Badge/certification
Tags: free, certification, badage
Published: 2022-11-07 14:37:49

In this post I share some information about difference free certification and badge: 

1. Become an OCI Foundations Associate 
[Become an OCI Foundations Associate](https://mylearn.oracle.com/learning-path/become-an-oci-foundations-associate/108448 )
Last check 2022-11-07

![Associate ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ixiaisnaet0n5q3mzlk2.png)

2. Become an Oracle Cloud Data Management Foundations Associate
[Become an Oracle Cloud Data Management Foundations Associate](https://mylearn.oracle.com/learning-path/become-an-oracle-cloud-data-management-foundations-associate/107013 )
Last check 2022-11-07

![Associate ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ixiaisnaet0n5q3mzlk2.png)
Most Convenient way to create a new file
Tags: linux, cli, files, webdev
Published: 2022-11-07 14:32:37

However, many ways exist to create a new file in Linux and Other CLIs.
But this one is the most convenient way with very minimal code

First, navigate the terminal to your desired location and then use this command

Here the Command

```shell
Username@deviceName ~ root directory
$ > filename.extension
```

Here, the Greater than '>' symbol is used to create new files

> NOTE: You can create as many files as possible at once

_Example:_

Here I am creating files starting from No.1 to No.10 with a <code>.js</code> extention

```shell
Username@deviceName ~ root directory
$ > file1.js file2.js file3.js file4.js file5.js file6.js file7.js file8.js file9.js file10.js 
```

_The intention is to make the users work more convenient and faster_