teleren/devto huggingface dataset:
"Transformando seu restaurante com tecnologia móvel moderna"
Tags: restaurantes, erp, pedidosonline, gestao
Published: 2023-03-07 01:19:27

Com a evolução tecnológica, as soluções de software modernas estão revolucionando a maneira como os restaurantes gerenciam seus negócios. De pedidos online a sistemas de gerenciamento de inventário, a tecnologia está transformando a forma como o setor de restaurantes opera. Aqui estão algumas das principais características que os proprietários de restaurantes devem procurar ao escolher um software moderno e alguns exemplos de como essas soluções podem ser usadas na web e em dispositivos móveis.

### Pedidos online:
 o software moderno permite que os clientes façam pedidos online, escolham suas refeições e paguem sem precisar sair de casa. Alguns exemplos de soluções de pedidos online são o **Uber Eats **e o **iFood**.

### Reservas online: 
os clientes podem fazer reservas online sem precisar ligar para o restaurante. Alguns exemplos de plataformas de reservas online são o **OpenTable** e o **Reserve**.

### Gerenciamento de inventário:
 o software moderno permite que os proprietários de restaurantes monitorem o estoque de ingredientes e alimentos em tempo real. Isso ajuda a evitar desperdícios e a garantir que o restaurante sempre tenha os ingredientes necessários para preparar as refeições. Alguns exemplos de soluções de gerenciamento de inventário são o **MarketMan** e o **Toast**.

### Gerenciamento de funcionários:
 o software moderno permite que os proprietários de restaurantes gerenciem as horas de trabalho dos funcionários, as escalas de trabalho e as folhas de pagamento. Isso ajuda a garantir que os funcionários sejam pagos corretamente e que o restaurante esteja sempre bem equipado com a equipe certa. Alguns exemplos de soluções de gerenciamento de funcionários são o **7shifts** e o **Deputy**.

### Menu digital: 
o software moderno permite que os clientes visualizem o cardápio do restaurante em seus smartphones, o que torna a experiência mais interativa e agradável. Alguns exemplos de soluções de menu digital são o **Zomato** e o **Tock**.

### Pagamento móvel:
 os clientes podem pagar pelo seu pedido diretamente em seus dispositivos móveis, sem precisar de dinheiro ou cartão de crédito. Alguns exemplos de soluções de pagamento móvel são o **PayPal** e o **Apple Pay**.

Como você pode ver, há muitas maneiras de usar o software moderno para melhorar a experiência do cliente e simplificar a gestão de um restaurante. Essas soluções ajudam a economizar tempo e dinheiro, além de oferecer uma experiência de alta qualidade tanto para os clientes quanto para os proprietários de restaurantes.

#restaurantes #softwaremoderno #pedidosonline #reservasonline #gerenciamentodeinventário #gerenciamentodefuncionários #menudigital #pagamentomóvel #experiênciadocliente #tecnologia #dispositivosmóveis #eficiência #qualidade
aaa
Published: 2023-03-07 01:05:32

<iframe src="https://codesandbox.io/embed/basic-list-brad-react-zlx6kw?fontsize=14&hidenavigation=1&theme=dark"
     style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
     title="Basic List [Brad-React]"
     allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
     sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
   ></iframe>
Sharing Git credentials between Windows and WSL
Tags: zsh, git, terminal, wsl
Published: 2023-03-07 00:59:07

Download [Git for Windows](https://gitforwindows.org/) and choose [Git Credential Manager](https://github.com/GitCredentialManager/git-credential-manager) (GCM) as credential helper on the installation steps.

![gcm](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0wvpleqjo4wwvzyk6k7f.png)

If you use HTTPS to clone your repositories, you can share this with WSL so that passwords you enter are persisted on both sides.

> Note that this does not apply to using SSH keys.

Just follow these steps:

1. Configure the credential manager on Windows by running the following in a **Windows command prompt** or **PowerShell**:

    ```bat
     git config --global credential.helper wincred
    ```

2. Configure WSL to use the same credential helper, but running the following in a **WSL terminal** (assuming you have `git` >= `v2.39.0`):

    ```bash
     git config --global credential.helper "/mnt/c/Program\ Files/Git/mingw64/bin/git-credential-manager.exe"
    ```

> To know the path for previous versions of `git`, please refer to https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-git

Any password you enter when working with Git on the Windows side will now be available to WSL and vice versa.

---

## Bonus Track

{% post https://dev.to/equiman/how-to-use-multiple-users-with-git-2e9l %}

---

**That’s All Folks!**
**Happy Coding** 🖖

[![beer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mkgsx4aw6qn9i9ax6as9.png)](https://github.com/sponsors/deinsoftware)

> **Sources**
> - [vscode docs troubleshooting](https://github.com/microsoft/vscode-docs/blob/vnext/docs/remote/troubleshooting.md#sharing-git-credentials-between-windows-and-wsl)
> - [Get started using Git on Windows Subsystem for Linux](https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-git)
> - [Git Credential Manager Rename](https://github.com/git-ecosystem/git-credential-manager/blob/main/docs/rename.md)
Software Under Test
Published: 2023-03-07 00:56:37

Software Under Test(SUT)는 소프트웨어 테스트에서 테스트 중인 소프트웨어 시스템 또는 애플리케이션을 지칭하는 용어입니다. 테스트 중인 소프트웨어는 필요한 품질 표준 및 사양을 충족하는지 확인하기 위해 테스트 프로세스를 거치는 소프트웨어입니다.

SUT에는 테스트 중인 소프트웨어의 모든 구성 요소, 모듈, 특징 및 기능이 포함됩니다. 독립형 애플리케이션, 웹 애플리케이션, 모바일 애플리케이션 또는 기타 모든 유형의 소프트웨어 시스템이 될 수 있습니다. SUT는 서로 상호 작용하는 여러 소프트웨어 구성 요소 또는 시스템으로 구성될 수도 있습니다.

* SUT에 대한 테스트 프로세스에는 
 - 기능 테스트
 - 성능 테스트
 - 보안 테스트
 - 사용성 테스트

등 다양한 유형의 테스트가 포함될 수 있습니다. 

* SUT 테스트의 목적은 소프트웨어의 결함,  오류 및 문제를 식별하고 수정하여 소프트웨어가 의도한 대로 작동하고 사용자의 요구 사항과 기대치를 충족하는지 확인하는 것입니다.

테스트 과정에서 테스터는 다양한 유형의 도구와 기법을 사용하여 SUT의 기능, 성능, 보안 및 기타 측면을 평가할 수 있습니다. 테스트 프로세스의 결과는 결함 및 문제를 식별하고 우선순위를 지정하는 데 사용되어 소프트웨어가 사용자에게 릴리스되기 전에 문제가 해결되도록 보장합니다.

요약하면, 테스트 대상 소프트웨어는 필요한 품질 표준 및 사양을 충족하는지 확인하기 위해 테스트 중인 소프트웨어 시스템 또는 애플리케이션이며, 여기에는 다음과 같은 모든 소프트웨어가 포함됩니다.
ultramsg - Not just a message
Tags: whatsapp, api, chatbots
Published: 2023-03-07 00:48:20

ultramsg is a WhatsApp API provider and a gateway for working with messages. 

With our API, you can make a chatbot and integrate WhatsApp with your systems: ERP, CRM, App, or website. However, ultramsg can perform many more functions, like sending files and messages through WhatsApp, automatically creating and managing webhooks, setting up even notifications, and much more. 

If you're looking to contact your customers via WhatsApp or build your own WhatsApp solution, ultramsg is your perfect choice.

[https://ultramsg.com](https://ultramsg.com)
Top 5 plugins for Nuxt 3
Tags: webdev, nuxt, vue, beginners
Published: 2023-03-07 00:32:35

---
title: Top 5 plugins for Nuxt 3
published: true
date: 2023-03-07 00:25:04 UTC
tags: webdev,nuxt,vue,beginner
canonical_url: https://blog.rrrm.co.uk/post/my-top-5-plugins-for-nuxt-3
---

## vueUse
[VueUse](https://vueuse.org/guide/#nuxt) is a collection of essential Vue 3 composition APIs. These APIs are designed to help developers build complex applications more easily. The plugin offers a wide range of utilities and helpers that can help to streamline the development process. VueUse is perfect for developers who want to get the most out of the composition API and build scalable and efficient applications.

## Tailwind
[Tailwind](https://tailwindcss.com/docs/guides/nuxtjs#3)  is a popular CSS framework that provides a set of utility classes for building responsive and customizable web interfaces. With Tailwind, developers can quickly and easily create beautiful interfaces without having to write a lot of CSS code. The Nuxt Tailwind plugin provides an easy way to integrate Tailwind with your Nuxt 3 project.

## @sidebase/nuxt-auth
The [nuxt-auth](https://github.com/sidebase/nuxt-auth) plugin wraps NextAuth.js, It provides an easy-to-use authentication solution for Nuxt 3 projects. The plugin supports a wide range of authentication providers, including JWT, OAuth, Google and Firebase. With @sidebase/nuxt-auth, developers can quickly add authentication functionality to their applications without having to write a lot of code.

## Nuxt-trpc
[Nuxt-trpc](https://github.com/wobsoriano/trpc-nuxt) is a lightweight framework for building TypeScript-powered RPC APIs with Next.js or Nuxt.js. It provides a powerful set of tools for building server-side APIs that are type-safe and easy to use. With Nuxt-trpc, developers can build scalable and maintainable APIs that are optimized for performance.

## Pinia
[Pinia](https://pinia.vuejs.org/ssr/nuxt.html#installation) is a modern and lightweight state management solution for Vue.js. It provides a reactive store that can be used to manage the state of your application. With Pinia, developers can easily manage the state of their application without having to worry about boilerplate code. The Nuxt Pinia plugin provides an easy way to integrate Pinia with your Nuxt 3 project.
Rust For C++ Programmers
Tags: rust, programming, cpp, writing
Published: 2023-03-06 22:33:04

I would like to make an article about my recent publication Rust For C++ Programmers. This is a book I had started writing in May 2022, and after months of work I am able to show my hard work. 

This book is published under BPB Online and I would like to thank the team for giving me this opportunity and the amazing support throughout the publication process. 


![Rust For C++ Programmers Cover](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wh57pfr0ho51nxcelcxb.jpg)


## Who's the Audience? 


The audience for this book is mainly C++ programmers looking to broaden their horizons or looking for a memory safety alternative. This book uses C++ semantics better to understand Rust in the beginning/intermediate sections and teaches how to use Rust alongside C/C++ projects in the advanced chapters. An excellent addition I added in this book that isn't particularly found in other books is having a few chapters dedicated to building projects, as listed below: 

- Building a CLI App 
  - Gives experience using the `structopts` crate 
- GTK App 
  - Build desktop apps using the GTK framework 
- StdLib for Mufi 
  - Integrate Rust into a C project by developing a standard library for a toy language. 
- App in Tauri
  - Learn how to develop cross-platform desktop applications using Tauri (Rust backend, Svelte frontend)

Along with the project, each chapter will contain exercises to help enforce the content each chapter goes through. 

## Why Rust and C++? 

C and C++ are systems programming languages that dominate many different aspects of our systems, such as operating systems, desktop applications, and microservices. Still, they come with their fair share of problems. 

The biggest con of using languages like C/C++ is the memory-related bugs they go through, which is the most common kind of exploitation in a program. 

The advantage of using a language like Rust is that it was built from the ground up to provide memory and thread safety so that you won't see any segmentation faults, double frees, or data races. 

We portrayed this book to provide C++ developers with a way to learn how to integrate Rust into a C++ project so newer features or different components can be written with higher levels of memory safety. This use case can happen in the Linux kernel, which has Rust as its second official language and is already being used for graphics drivers in the [Asahi Linux](https://asahilinux.org/) project that aims to bring Linux to Apple silicon. 

## Where to Purchase? 

The book is listed as the following: 
- Kindle: $9.95 USD
- Paperback: $29.95 USD 
- Paperback + Kindle: $34.95 USD 

[View BPB Online](https://bpbonline.com/products/rust-for-c-programmers?_pos=1&_sid=dad438bb6&_ss=r)
Don't Use Recoil
Published: 2023-03-07 00:06:01

I built an app at work using Recoil, and I have a strong opinion on why you should *not* use it.

I see that the library is about 2x as popular on npm as redux-observable, which is the library I'm interested in replacing Recoil with. This is why I feel I should write something.

Reason 1: Recoil wraps async functions with atoms and/or selectors. These objects trigger the function immediately. Because your atoms and selectors are defined in the root scope, they will trigger their network requests on startup, but in no particular order. This inherently creates race conditions, because you don't know which one will finish first. As your application grows in scale, you will eventually create race condition bugs which are hard to solve because your data isn't loading in a defined order.

Reason 2: Your data isn't auditable (like in Redux). You can't debug problems by looking at the data, or by seeing the order in which it was loaded.

Reason 3: Recoil doesn't prescribe an architecture. Assume you have some component which is holding state in Recoil. Now you want to build an app around this component. Your app will fetch some data, then push that data to the shared state in your component. So you wrap your fetching function in a Recoil atom, because why wouldn't you? Now you've received your data, so you then push that data into the other Recoil atom, the one for your shared component, and OH NO! Recoil doesn't do that. Why not? Because reasons. Does Recoil have a solution for how this architecture should work? No.

Reason 4: I've lost significant time spent tinkering on problems, trying various approaches, just trying to find one that would work, only to find that the best solution was to remove Recoil and use React's native hooks. Whereas, with libraries like Redux and RxJS, chances are you can find examples of the right way to make something work. This means you're going to be much more likely to hit your estimates using Redux and RxJS than you are with Recoil.

If the author of Recoil can solve the above issues, I'd be happy to update my opinion on it. As it stands now, I think it's important that developers steer clear.
MSSN CTRL: Not just another cybersecurity conference
Tags: security
Published: 2023-03-08 18:08:48

---
title: MSSN CTRL: Not just another cybersecurity conference
published: true
date: 2023-03-07 00:00:00 UTC
tags: security
canonical_url: https://www.limacharlie.io/blog/mssn-ctrl-security-engineering-automation-conference-2023
---

![MSSN CTRL Conference](https://images.ctfassets.net/8ypp714zy4gs/3SI3w6quGaJKrOK8YUGlQr/3d4e0ea917064f74c7556319ef1c9de1/mssnctrl__1_.png?w=760&fm=jpg&fl=progressive&q=90)

[MSSN CTRL](https://www.mssnctrl.org/) is an exclusive security engineering and automation event that is focused on how innovators in cybersecurity are changing the way security has been practiced for the past decade and how they are finally able to fundamentally architect the security infrastructure they need to support what they do best.

The inaugural event hosted in **Arlington, VA on October 5-6, 2023** , will be filled with deep technical training and informative hands-on sessions with direct takeaways on how you can leverage new methods and tools to protect your organization or your customers. 

MSSN CTRL is an immersive experience that delivers the opportunity to meet with engineers, analysts, and leaders from the most prominent cybersecurity startups, security service providers, and some of the best SOC teams around the globe.

We are creating this conference with you, the practitioner, in mind. Hear directly from others in the field as they share real stories of what challenges they face and how they overcome them, debrief with peers, collaborate, expand your network, and leave inspired to do security differently.

### Topics to expect at MSSN CTRL:

- Incident Response, streamlined: approaches to responding to external incidents faster and more efficiently.

- The modern SOC architecture: coping with the growing diversity in IT environments.

- The problem with storage: strategies to deal with storage and its operationalization.

### Who should attend MSSN CTRL?

- Security engineers

- Security architects

- Security analysts

- Detection engineers

- Security leaders

If you are looking for new ways of thinking and new emerging technologies to solve your security problems, this is the event for you. If you have fallen victim to adding acronyms to your technology stack, we don’t blame you - but challenge you to open your mind to a new frontier.

### Learn more about MSSN CTRL and get on the notification list

Tickets go on sale soon. Get on the list to get notified when they are available for purchase.

[> Go to MSSN CTRL](https://www.mssnctrl.org/)
Flutter - how to make virtual keyboard disappear
Tags: flutter
Published: 2023-03-06 23:27:13

If you have a `TextFormField` you will have the virtual keyboard appear so users can type. However, once the action button is clicked the keyboard remains visible. Users can click on an Android button to hide it but this is annoying.

In my app, the `TextFormField` has a search button and I want the keyboard to disappear once the button has been clicked. 

I did a bit of research, and two strategies seem to be available:

1.- `Listener` class - you wrap your button with the `Listener` [class](https://api.flutter.dev/flutter/widgets/Listener-class.html) and you can pass the callback to any of the exposed properties: `onPointerDown`, `onPointerUp`, etc.

The callback should be

```
(PointerEvent event) =>
                FocusManager.instance.primaryFocus?.unfocus(),
``` 

2.- `GestureDetector` class. According to folks [online](https://stackoverflow.com/questions/73612315/howto-hide-the-keyboard-in-flutter-when-tapping-outside-of-the-textfield-without), you should be able to wrap your button with the `GestureDetector` widget and use the `onTap` property. Like so:

```
onTap: () => FocusManager.instance.primaryFocus?.unfocus(),
```

However, it didn't work for me and I didn't have a chance to dig deeper, so I went with option 1 above.
"broadcast" a window from an electron app to my local network?
Tags: help, javascript, webdev, electron
Published: 2023-03-06 23:24:51

Hello friends! So I have made this super simple electron app in javascript, added the code below. This app opens up a window that displays youtube TV with an ad blocker, and spoofs the user agent so that youtube thinks that you are a TV, so it doesn't redirect you to normal youtube. Simple stuff. Now, I have a smart TV that I can install web-applications on. So I am trying to somehow use the electron app as a server that "broadcasts" an instance of the "mainWindow" on my local network, so that I can use this electron app on my TV even tough it is hosted and running on my PC. I've tried multiple different ways with express, webpack, etc etc but no matter what I cannot seem to make it work. Electron is obviously not the best choice for a server-like application, but I need to use it since it has chromium integration which is required for the adblocker.

Does anyone have any idea of how I could make this work? Or am I just dreaming of doing something impossible? :)

`const { ElectronBlocker } = require('@cliqz/adblocker-electron')
const fetch = require('cross-fetch')
const { app, BrowserWindow, session } = require('electron')
const SMART_TV_UA = 'Mozilla/5.0 (Linux; Tizen 2.3)';
const filter = {
    urls: ['*://*.youtube.com/*']
  }
app.on('ready', () => {
    ElectronBlocker.fromPrebuiltAdsAndTracking(fetch).then((blocker) => {
        blocker.enableBlockingInSession(session.defaultSession);
      });
      session.defaultSession.webRequest.onBeforeSendHeaders(filter, (details, callback) => {
        details.requestHeaders['User-Agent'] = SMART_TV_UA;
        callback({ requestHeaders: details.requestHeaders })
      });
    const mainWindow = new BrowserWindow({width: 1920, height: 1080, frame: false, autoHideMenuBar: true});
   mainWindow.loadURL('https://www.youtube.com/tv')
});
app.allowRendererProcessReuse = true;
app.userAgentFallback = SMART_TV_UA;`
The DevOnly component in Nuxt 3: A developer's best friend
Tags: nuxt3, webdev, vue, nuxt
Published: 2023-03-06 23:42:59

---
title: The DevOnly component in Nuxt 3: A developer's best friend
published: true
date: 2023-03-06 23:16:53 UTC
tags: nuxt3,webdev,vue,nuxt
canonical_url: https://blog.rrrm.co.uk/post/the-devonly-component-in-nuxt-3-a-developers-best-friend
---

## Introduction

Nuxt 3 is the latest version of the popular Vue.js framework for building server-side rendered applications. One of the new features in Nuxt 3 is the `<DevOnly>` component, which is designed to help developers debug and test their applications more easily. In this blog post, we'll take a closer look at what the `<DevOnly>` component is, how it works, and how you can use it in your own Nuxt 3 projects.

## What is the DevOnly component?

The devonly component is a special component that only renders in development mode. When you build your Nuxt 3 application for production, the devonly component is automatically removed from the final output. This makes it ideal for testing and debugging purposes, since you can use it to add temporary code or functionality that won't affect your production application.

## How to use the DevOnly component in Nuxt 3

Using the `<DevOnly>` component in Nuxt 3 is easy. You can use it like any other component, but with a special tag that indicates it should only be rendered in development mode. Here's an example:

```html
<DevOnly>
  <div>Debugging information goes here</div>
</DevOnly>
```

In this example, the `div` element will only be rendered in development mode. If you build your application for production, it will be automatically removed.

## Best practices for using the devonly component

While the `<DevOnly>` component can be a useful tool for debugging and testing your Nuxt 3 application, it's important to use it wisely. Here are a few best practices to keep in mind:

- Use the devonly component sparingly. Only add it to your code when you really need to debug or test something.
- Don't rely on the devonly component for actual functionality in your application. It should only be used for temporary debugging or testing purposes.
- Test your application thoroughly in development mode before deploying to production. The devonly component can help you
Beginner Layout work
Tags: codepen, beginners, webdev, 100dev
Published: 2023-03-06 23:12:43

What's up world, I've been steadily grinding while also managing a full-time job and a family. Here's a layout I've been working on cloning as I move into month 4 of my coding journey. I Finally worked up the nerve to share my work because I'm realizing there's no way I'm going to be able to do this alone. Open to all feedback, Thanks! {% codepen https://codepen.io/MF-H0d/pen/rNZLYzG %}