teleren/devto huggingface dataset:
Uber like Tow Truck App Development By SpotnRides
Tags: uberliketowtruck, uberfortowing, uberfortowtruck, appdevelopment
Published: 2023-10-10 12:17:46


SpotnRides is one of the leading on-demand app development companies. Our **[towing software](https://www.spotnrides.com/uber-for-tow-trucks-app-to-your-roadside-assistance-business)** offers roadside assistance with efficient management of calls and dispatches, ensuring drivers receive the help they need in a timely manner.Explore the demo now!

Visit:  https://www.spotnrides.com/uber-for-tow-trucks-app-to-your-roadside-assistance-business

Contact: hello@spotnrides.com
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qp2nmth0ggq3q62zl08d.jpg)
Scene: Custom story writing tool
Tags: writing, java, discuss, devjournal
Published: 2023-10-10 12:16:33


Hey DEV

Recently I really got into writing and thought about what features code editors can add to the software used to write novels. This is a test of Scene, my own story-telling software with rich text support, scrollbar previews and a custom Swing docking system, with more to come!



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



What are your thoughts? How can writing code influence how we write stories? Leave a comment!
Day 3: Learning Colors, by building colored markers
Tags: webdev, javascript, beginners, programming
Published: 2023-10-10 12:14:18

Hello Everyone,

I'm excited to share my third entry in the #100daysofcodechallenge! I've been diving deeper into CSS, building on the foundations of HTML and CSS that I've learned earlier. In this phase of my learning journey on freecodecamp, I focused on mastering CSS colors by creating a simple yet engaging project called 'Colored Makers.'

Exploring the realms of RGB, HEX, HSL, and RGBA, I found joy in applying these color techniques to my elements. The process wasn't as challenging as I expected, and I ended up learning a lot while working on this project.

I'm proud to present 'Colored Makers,' and I invite you to check it out through this link:

https://colored1-marker.netlify.app/

Your feedback and thoughts are highly valued, so please feel free to share them in the comment section below. Your support means the world to me!
Match case-insensitive patterns when using CloudWatch Logs Insights
Tags: aws, cloudwatch
Published: 2023-10-10 12:10:58

---
title: Match case-insensitive patterns when using CloudWatch Logs Insights
published: true
description: Quick tip on how to match case-insensitive patterns when using CloudWatch Logs Insights
tags: AWS, CloudWatch
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-10-10 12:10 +0000
---

👋

I found myself Googling (or rather - ChatGPTing) this one too many times so I decided to write it down.

---

If you're looking for errors in your CloudWatch Logs you can use CloudWatch Logs Insights to query your logs. One of the most commonly used commands is `filter` which allows you to filter your logs that match one or more conditions, here's an example:

```
fields @timestamp, @message
| filter (range>3000 and accountId=123456789012)
| sort @timestamp desc
| limit 20
```

To be honest I rarely find myself using filter like this, but I often use it to filter logs that match a specific pattern, for example:

```
fields @timestamp, @message, @logStream, @log
| filter @message like /error/
```

Note the `like` keyword here - this is a signal for CloudWatch Logs Insights to treat the pattern as a regular expression. (You can use `=~` instead of `like` if you want, e.g. `filter @message =~ /error/` but I personally find it more confusing to read).

There is one problem with this query, suppose that our error log entry looks like this:

```
console.log({
  message: "Error: cannot create user",
  timestamp: new Date().toUTCString(),
  requestId: faker.random.uuid(),
  userId: faker.random.uuid(),
});
```

(Obviously don't use `faker.random.uuid()` in prod, this is just an example).

If we type `filter @message like /error/` we won't get any results because the pattern is case-sensitive. To make it case-insensitive we need to add `(?i)` to the beginning of the pattern, like this:

```
fields @timestamp, @message, @logStream, @log
| filter @message like /(?i)error/
```

This will match `error`, `Error`, `ERROR` or even `eRroR` and we'll get the results we're looking for.

**Additional tip:**

One more thing - if you want to filter all logs that are **not** errors (e.g. if you don't want to ruin your weekend), you can use `not like` syntax, like this:

```
fields @timestamp, @message, @logStream, @log
| filter @message not like /(?i)error/
```
Designing for Tomorrow: Sustainable Architecture In Portland, Maine
Published: 2023-10-10 12:07:18

Sustainable [architecture firms Portland Maine](https://hellbentdesignstudio.hashnode.dev/designing-for-tomorrow-sustainable-architecture-in-portland-maine) . Architects in the city are pioneering innovative approaches to create buildings that are environmentally responsible, energy-efficient, and resilient in the face of climate change. The commitment to sustainability extends beyond individual structures and encompasses the entire urban landscape, making Portland a shining example of sustainable development.
self drive car rental in lucknow
Tags: rental, bikerent, carrent, transportation
Published: 2023-10-10 12:00:57

Ogonn Technology offers self-drive car on rent in Lucknow. If you're trying to find a car rental in Lucknow Ogonn Technology is that the best choice to form your trip memorable. Ogonn Technology is the car rental company in Lucknow that provides a good range of four-wheelers on rent. we have a car for all types of riders and everyone sort of riders, Where riders can prefer to ride on an hourly, daily, weekly, or monthly basis at the foremost affordable price. We also provide an extension of the booking period to assist you to enjoy uninterrupted. you'll book four-wheelers hassle-free with our high efficient booking system in only three simples steps either through our website or by downloading our “Ogonn Technology” App. Our aim is to supply customer-friendly services meeting the requirements of convenience and cost-effectiveness. Our cars are well maintained and timely serviced to offer you a memorable and hassle-free experience. [Ogonn](https://ogonn.in/car-on-rent-in-lucknow.html**__**) Technology is here to provide you the easiest four-wheelers rental service with a simple process and it's quite easy to urge a car on rent in Lucknow. We also provide complimentary helmets because we do give safety the foremost importance. Visit our [**_website_**](https://ogonn.in/car-on-rent-in-lucknow.html) and download the app to raised understand how our system work. If you're visiting Lucknow, Just give us a call we might be happy to help!
Sustainable Architectural Design: Bringing Green Innovation To Portland
Tags: architecture
Published: 2023-10-10 11:55:09

Prioritize sustainability with eco-friendly [architectural design services](https://www.tumblr.com/hellbentdesignstudio/730133481554935808/sustainable-architectural-design-bringing-green?source=share) in Portland. Experience tailored designs that embrace green technologies, ensuring your project not only looks great but also benefits the environment.
SMM Panel Pakistan | Cheap,Top,Reseller
Tags: smmpanel, smmpanelpakistan, redsmmpanel, topsmmpanel
Published: 2023-10-10 11:47:37

Special Services

**[smm panel pakistan](https://redsmmpanel.com/)** is a current and green wholesale smm panel. We attempt to offer you instant raise and boom on exclusive social media systems, also we sell cellular app. Our different special organisation services are Banner Design, Logo Design, SEO, PPC, Video Production, Website and Mobile App Development and plenty of extra.

Free Trials

If you are concerned approximately smm panel pakistan offerings and nonetheless considering their satisfactory, need now not to fear. You can take a look at our a few offerings unfastened as well as after "Sign Up" you can ask for path by way of ticket after which we're going to provide $1 welcome bonus within 24 hours that permit you to to loose test. After that, we consider you'll no longer have any hesitation toward our offerings.

RED SMM PANEL

Social Media Marketing Panel

smm panel pakistan is a social media advertising and marketing panel that Focuses on SMM Panel Instagram. Smm panel Focuses on SMM Panel Instagram Followers Services to Assist with IG Panel Followers and Likes Growth. Smm panel pakistan affords the first-rate SMM Panel Services in 2023 and will help you succeed in social media via offering the most inexpensive Instagram panel, Telegram panels, Spotify panels, TikTok Panels, Soundcloud Panels, and YouTube Panels. IG SMM panel is a social media increase services Provider that gives IG panel fans, likes, views, etc. Now get the first-class IG panel offerings and grow your Instagram pages. We have the Best and most inexpensive SMM panel for Instagram and other social networks.
TechnBrains - Where On-Demand App Dreams Become Reality!
Published: 2023-10-10 11:45:31

In search of exceptional On-Demand App Development? Look no further! **TechnBrains**, a premier USA-based [mobile app development](https://www.technbrains.com/mobile-application/android-app-development/) powerhouse, turns your dreams into reality.

**🚀 Our Services Encompass:**

1. Lightning-Quick Delivery 📦
2. Spot the Nearest Shops 🏪
3. Optimal Pricing 💰
4. Wide Delivery Choices 🌐
5. User Reviews & Ratings 🌟
6. And a treasure trove of other enticing features!

Our seasoned team is dedicated to crafting top-tier, tailored apps that embody your vision. Reach out today to transform your app concept into the next big sensation!
PHP Array And Objects Streaming Library
Tags: php, array, library
Published: 2023-10-10 11:39:55

Have you ever found yourself in the situation when you need to evaluate and transform some data which is in a list, basically filter-map-reducing it? It's an everyday job! Somehow PHP doesn't have prebuilt Array API like does Javascript or Java, which is a very convenient way to chain your operations, and by the way it should be lazy - which means not traversing your data in every chained function. Instead it would stack your calls and then dump it to terminal operation when it is time.

I mean something like this, and imagine there are millions of traversables there (written in pseudo-js-code):

```javascript
dataArray // a lot of records from database
    .filter((e) => !!e.subData) // must have "subData"
    .map((e) => e.subData) // extract "subData"
    .filter((sd) => !!sd.user) // must have "user"
    .map((sd) => sd.user) // extract "user"
    .foreach((user) => log('user: ', user)) // collect extracted users
    .map((user) => {
        return {...user, total: user.money * user.days}; 
    }) // add some 'total' to each user
    .groupBy((user) => round(user.total / 1000)) // somehow group users
    .mapAll((user) => user.total) // transform all groups
    .reduceAll((sum, total) => sum + total) // sum values in groups
    .collect(); // and finally get the result
```
Nice and clear!
However in PHP it is impossible unless you dig the web to find something suitable.

Welcome [PHP Stream API](https://github.com/tkx/stream) - heavily inspired by Java Stream API and enriched by Underscore methods - convenient array mutation and filtering conveyor, that takes the pain of working with traversables in PHP.

Fork, test, comment, like, subscribe, ring the bell (joke) :)
It is not final, but together we can make it the best!

I'll be adding some reasonable stuff while using it in my everyday job if something comes up my mind.

K! THX! BYE!
What are the Benefits of Headless Laravel for Business?
Tags: headless, headlesslaravel, ecommerce, cms
Published: 2023-10-10 11:24:42

Headless Laravel is a robust PHP framework in a decoupled manner. In this development, Laravel primarily serves as the backend, managing data, logic, and business operations. The front end, however, is detached, allowing for independent development using technologies like Vue.js, React, or other JavaScript frameworks. This separation grants developers greater flexibility, enabling them to create dynamic, interactive, and highly customizable user interfaces. 

[Headless Laravel](https://bagisto.com/en/headless-ecommerce/) is ideal for projects requiring real-time updates, scalability, and a modern, responsive user experience. Headless Laravel is widely adopted in web applications where performance, flexibility, and seamless integration are paramount.

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

**Benefits of Headless Laravel to Business:**

**Flexibility and Scalability:**

Headless design allows for independent development of the front end and back end, offering flexibility to adapt and scale each component separately to meet evolving business needs.

**Improved Performance:**

With decoupled development, you can optimize the frontend for speed and user experience without being constrained by backend processes, resulting in faster page loads and a smoother user interface.

**Enhanced User Experience:**

Add the decoupled nature of Headless Laravel e-commerce, which allows for the creation of highly interactive and dynamic user interfaces, leading to a more engaging and satisfying experience for customers.

**Multi-Channel Capabilities:**

Headless Laravel has multi-channel capabilities that enable the business to easily serve content and functionality across various channels like the web, mobile apps, and IoT devices, providing a seamless omnichannel experience.

**Easy Integration with Third-Party Services:**

Headless Laravel can facilitate and simplify the integration of various third-party services and APIs that allow businesses to leverage specialized services and enhance their operations.

**Conclusion:**

With Headless Laravel, businesses can seamlessly integrate various front-end frameworks, ensuring fast page loads and dynamic content updates. Headless Laravel Ecommerce empowers them to deliver engaging, interactive, and highly personalized web experiences that captivate users.
How GUIs Transformed Computing
Tags: gui, history, computervision, beginners
Published: 2023-10-10 11:20:09

*Graphical User Interfaces (GUIs)* have been an integral part of modern computing, making interaction with computers user-friendly and intuitive. In this article, we'll delve into the history of GUIs, the controversies they stirred, and the innovators behind this monumental shift in computing.

## **The Era Before GUIs**

In the early days of computing, interacting with a computer meant using a command-line operating system like *MS-DOS*. Much like our *Python console* today, users had to communicate with the computer by typing text-based commands. GUIs, however, introduced a radical departure from this norm.

## **GUIs: A Visual Revolution**

GUIs, with their graphical elements and mouse input, allowed even those with minimal computer training to navigate and interact with ease. The *Mac Lisa*, one of the pioneering computers, featured *windows* that users could click on to launch programs—a stark departure from the text-based interfaces of yore.

## **The Mac vs. Windows Battle**

Interestingly, the Mac had these graphical windows long before Microsoft introduced *Windows*. This led to a significant legal battle, with *Apple* accusing *Microsoft* of copying their GUI concept. The courtroom clash highlighted the significance of GUIs in the computing world during the '90s.

## **Bill Gates and Steve Jobs: A Colorful Exchange**

*Bill Gates* and *Steve Jobs* found themselves in the midst of this controversy. In a memorable encounter, Jobs accused Gates of stealing Apple's operating system ideas. Gates retorted, "It's more like we both have this rich neighbor named *Xerox*." This exchange epitomized the intense competition and innovation of the era.

## **Xerox PARC: The Unsung Heroes**

Behind the scenes, *Xerox PARC (Palo Alto Research Center)* played a pivotal role. They were the true pioneers, creating the first GUI and even inventing the *mouse*. Their contributions to computing history are often overlooked.

## **The Legacy of Xerox PARC**

Beyond GUIs, Xerox PARC contributed groundbreaking inventions like *Ethernet* and the first *Object-Oriented Programming* language. Their work laid the foundation for modern computing as we know it.

## **Discover More**

If you're intrigued by this captivating era of computing history, consider watching the movie *"Pirates of Silicon Valley."* It provides a deeper dive into this enthralling story.

*In conclusion*, GUIs were more than just a visual overhaul; they represented a paradigm shift in how we interact with computers. The battles and controversies surrounding GUIs underscore their significance in shaping the modern digital landscape.
principal component analysis (PCA)
Tags: technology, pca, algebra, ai
Published: 2023-10-10 11:10:41

Are you working with large datasets that contain a high number of dimensions per observation? Principal Component Analysis (PCA) can help.

 This statistical technique allows you to reduce the dimensionality of your data while preserving the maximum amount of information. 

With PCA, you can analyze your data more effectively, make predictive models, and visualize multidimensional data. 

By transforming your data into a new coordinate system, PCA can help you identify clusters of related data points and increase the interpretability of your data. 

applications of Principal Component Analysis (PCA):

 In Genetics, PCA is used to identify genetic variations and understand the genetic structure of populations.

 In Paleontology, it is used to analyze the chemical composition of fossils and identify differences between samples.

In Atmospheric Science, it helps analyze the spatial and temporal patterns of atmospheric variables like temperature, humidity, and pressure. 

Recently, researchers used PCA in a study published in Nature to distinguish nearby soil samples in a 78,000-year-old burial. 

The results showed a clear distinction between samples from the burial pit and samples from outside the pit at the same level of excavation. 

Maths behind PCA:

Transforming complex data into a simpler form is the backbone of data analysis. Principal Component Analysis (PCA) is a linear algebra technique that does just that. 

By transforming a dataset into a new coordinate system, PCA allows data to be represented in terms of its principal components. 

These components are a sequence of unit vectors that describe the directions of maximum variance in the data.

difference between PCA and factor analysis:

 While both techniques are used to reduce the dimensionality of a dataset, they differ in their underlying assumptions and goals. 

PCA aims to identify the directions of maximum variance in the data and represent the data in terms of these directions, called principal components. 

These components are linear combinations of the original variables that are uncorrelated with each other and account for as much of the total variance in the data as possible. 

PCA is often used for exploratory data analysis and for making predictive models.

FA, on the other hand, aims to identify the underlying latent factors that are responsible for the observed correlations between the variables.

 The factors are unobserved variables that are assumed to cause the observed variables. FA seeks to estimate the factor loadings,

 which represent the strength of the relationship between each variable and each factor, as well as the factor scores, which represent the values of each factor for each observation. 

FA is often used in psychology and social sciences to construct multi-scale tests.
How to Deal with a Child Who Hates School
Published: 2023-10-10 11:09:14

It can be challenging for parents and caregivers to navigate a situation where their [child expresses](https://parentho.com/preschooler-kid/how-to-deal-with-a-child-who-hates-school/) a strong dislike for school. As a parent, you want your child to succeed academically and enjoy their educational journey. However, when a child hates school, it's essential to approach the situation with empathy, patience, and a willingness to understand their perspective. Here are some strategies to help you address and resolve this issue:
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5z067dobphrko5v22ic0.jpg)
What is HumanEval in AI/Ml
Tags: webdev, ai, machinelearning, beginners
Published: 2023-10-10 11:07:50

"Human Eval" in the context you provided likely refers to a form of evaluation or assessment involving human judgment or input. It's often used in the field of artificial intelligence, particularly in natural language processing (NLP) and machine learning, to gauge the quality and performance of AI models.

In the context of AI language models like GPT (Generative Pre-trained Transformer) or MetaGPT, "Human Eval" typically involves having human evaluators assess the output of these models to determine how well they perform various language-related tasks. These evaluations can include tasks like language translation, text generation, question-answering, and more.

For example, in language translation, human evaluators might compare the translations generated by an AI model with human-generated translations and rate them for accuracy and fluency. This human evaluation helps AI researchers understand how well their models are performing and whether improvements are needed.

The goal is often to achieve high scores in Human Eval, indicating that the AI model's output is comparable to or indistinguishable from human-generated content, demonstrating the model's effectiveness and quality.
3D parallax effect by moving mouse using CSS
Tags: webdev, javascript, css, frontend
Published: 2023-10-10 11:01:32

This is demonstration how to create the 3D parallax effect when moving mouse using the CSS `transform`.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7qwo299luvgcgi38j9al.gif)

In JavaScript, we only need to listen the `mousemove` event and set the transformation values into CSS variables:

```js
// get the root element
const root = document.documentElement;

document.addEventListener('mousemove', (event) => {
  // calculate transformation values
  const smoothMove = 0.01;
  const rotateX = (event.clientY - window.innerHeight / 2) * smoothMove;
  const rotateY = (event.clientX - window.innerWidth / 2) * -smoothMove / 2;

  // set CSS variables
  root.style.setProperty('--rotate-x', `${rotateX}deg`);
  root.style.setProperty('--rotate-y', `${rotateY}deg`);
});
```

In CSS we use the `--rotate-x` and `--rotate-y` variables for the `transform`:

```css
.parallax-container {
  /* use CSS variables calculated in JavaScript */
  transform: rotateX(var(--rotate-x)) rotateY(var(--rotate-y));
  transform-style: preserve-3d;
  transition: transform 1.5s cubic-bezier(0.05, 0.5, 0, 1);
  will-change: transform;
}
```

The background "rain effect" is created with `canvas` and animated using JavaScript.

See on GitHub: [parallax-3d-lens-effect](https://github.com/webdiscus/parallax-3d-lens-effect).

P.S. if you like it, you might be interested in my other projects:
- [html-bundler-webpack-plugin](https://github.com/webdiscus/html-bundler-webpack-plugin)
- [ansis](https://github.com/webdiscus/ansis)

{% cta https://github.com/webdiscus/parallax-3d-lens-effect %} Give Parallax 3D effect a ⭐️ on GitHub {% endcta %}