teleren/devto huggingface dataset:
SurrealDB - We're hiring! 🚀
Tags: database, hiring, javascript, rust
Published: 2022-11-29 23:53:36

We're hiring! 🚀

[SurrealDB](https://github.com/surrealdb/surrealdb) is a newsql multi-model database, that operates in schemafull or schemaless mode, with tables, inter-document record links (no JOINs), and graphdatabase modelling functionality. You can query it from the backend, or from frontend applications (Chrome, Firefox, Safari, Electron, Tauri) with javascript, with in-built permissions and authentication.

We are a startup with an ambitious mission to build the ultimate multi-model database for tomorrow’s applications. We are seeking to [hire](https://surrealdb.com/careers) the best - people who care deeply about the work they do, and care about the people with whom they create and promote the product. Apart from mere excellence, we value integrity, respect, inclusion and collaboration - in short, we want to create the happiest and friendliest team for whom work is a pleasure. We have offices in New York and London, we also work remotely, and we enable flexible working which we think contributes to a healthy family life. We offer generous benefits, and facilitate full team meetups at least twice a year.

Open positions:
[Cloud/Devops Engineer](https://careers.surrealdb.com/cloud-devops-engineer)
[Developer Advocate](https://careers.surrealdb.com/developer-advocate)
[Senior JavaScript Engineer (User Interface)](https://careers.surrealdb.com/senior-javascript-engineer-user-interface)
[Senior Rust Engineer (Data Storage)](https://careers.surrealdb.com/senior-rust-engineer-data-storage)
[Senior Rust Engineer (Database)](https://careers.surrealdb.com/senior-rust-engineer-database)
[Senior Rust Engineer (Distributed Systems)](https://careers.surrealdb.com/senior-rust-engineer-distributed-systems)
[Senior Rust Engineer (Indexing And Full-Text Search)](https://careers.surrealdb.com/senior-rust-engineer-indexing-and-full-text-search)
[Social Media Manager](media-manager)

Do you want to join our team? Then we'd love ❤️ to hear from you!

More info on SurrealDB can be found below:
[SurrealDB Careers](https://surrealdb.com/careers)
[SurrealDB.com](https://surrealdb.com/)
[Our GitHub repo](https://github.com/surrealdb/surrealdb)
[Indie Hackers](https://www.indiehackers.com/post/just-launched-a-new-scalable-cloud-graph-database-any-feedback-users-testers-appreciated-bddb237166)
[PT-BR] SEU READM.MD NUNCA MAIS SERÁ O MESMO
Tags: github, braziliandevs, opensource, git
Published: 2022-11-29 23:27:20

Você que é desenvolvedor, engenheiro de software, testador, enfim é o DevOps fazendo todo o serviço e ainda assim precisa documentar o projeto no GitHub, se você assim como eu já passou horas ou até dias escrevendo uma boa documentação, saiba que tenho uma solução bem interessante que pode te ajudar muito. Então, chega de escrever e reescrever esse readme.md e vamos conhecer essa excelente ferramenta. 

![Digitando](https://media.giphy.com/media/Oj5w7lOaR5ieNpuBhn/giphy.gif)

A ideia é simples, você consegue adicionar ou remover sessões, editar o textos através da plataforma e com isto organizar o seu projeto de forma muito mais prática e produtiva.

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

Por último você consegue visualizar o código gerado e só correr pro abraço! Legal né? Aqui vai um bônus para você que quer utilizar os recursos do [markdown](https://markdown.net.br/editor/?markdown=%23%20T%C3%ADtulo%20de%20n%C3%ADvel%201)

Quer começar a usar agora? Acesse [Stack- Redme.so](https://readme.so/pt)

Gostou? Curta, comente e compartilhe! ❤
Day 657: Growing Pain
Tags: hiphop, code, coding, lifelongdev
Published: 2022-11-29 23:03:39

_liner notes_:
- Professional : Had a meeting with my manager today. Worked more on a new Web Component. I'm almost done, just need to do some testing and verify things. Also did some pair programming with a co-worker to narrow down some issues with integrating with a third party. Did a test run of a video I'm going to record.

- Personal : Last night, I got my new side project to the point that the core functionality is working. Everything else is pretty much extras, styling or stuff I have in other projects so it's basically copy and paste. I'll be able to demo it at a meetup tomorrow.

![A white lighthouse on a hill of the rocky Lladdwyn Island, Wales coast with the ocean and mountain chain in the background](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/usp5txfswo5zywruq6n3.jpg)

Going to see if I can knock out recording the video tonight after dinner. There's a virtual meetup happening tonight. I also want to go through the live stream application I made to live stream meetups and fix anything that may have broken because it has been a while since I used it and could be some growing pains. I also believe that there is a new "Chainsaw Man" episode. That's pretty much it.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube Tx3y83lu3P0 %}
Rails + Stimulus.js sorting filter on select
Tags: rails, ruby, javascript, webdev
Published: 2022-11-29 22:32:45

In my new project I wanted to introduce sorting on the index page for my records and I came up with this simple Stimulus.js solution.

First, I created the select

```HTML
<select aria-label="select">
  <option value="id desc">Latest</option>
  <option value="id asc">Oldest</option>
  <option value="name asc">A-Z</option>
  <option value="name desc">Z-A</option>
</select>
```

Then once i have my element in place I can create a Stimulus controller

`rails g stimulus select`

And also attach it to my select
```HTML
<select data-controller="select" aria-label="select">
  <!-- content -->
</select>
```
Now, let's attach the action to our element that is responsible for selecting.
```javascript
export default class extends Controller {
  params = new URLSearchParams(window.location.search)
  connect() {
    // attach action to the element
    this.element.dataset.action = "change->select#filter"
    // set initial params after page load
    this.element.value = this.params.get('sort')
  }
  filter() {
    const query = this.element.value
    this.params.set('sort', query)
    window.location.search = this.params.toString()
  }
}
```
The reason I'm setting this.element.value in my `connect()` method is because of the next method introduced, `filter()`. Here I will set the search location of the window object to the params we got from our select. However this will refresh the page and cause the select to reset.

Last step is adding the actual filtering to the controller, but to make sure that it's safe and user cannot send their own values I also introduce an array of values available in this filter.
```ruby
class Property::SalesController < ApplicationController
  before_action :set_property_sale, only: %i[ show edit update destroy ]
  SORT_METHODS = ['id asc', 'id desc', 'name asc', 'name desc']

  # GET /property/sales or /property/sales.json
  def index
    @property_sales = Property::Sale.all
    @property_sales = @property_sales.order(params[:sort]) if params[:sort].presence.in? SORT_METHODS
  end
end
```
Now our input is safe because only these 4 strings can trigger a database call.
Quick VS Code tip: skip selections when using Ctrl|Cmd + D
Tags: vscode, productivity, keyboard
Published: 2022-11-29 22:30:09

---
title: Quick VS Code tip: skip selections when using Ctrl|Cmd + D
published: true
description: 
tags: vscode, productivity, keyboard 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2022-11-29 22:25 +0000
---

Using `Ctrl|Cmd` + `D` in Visual Studio Code allows you to select the next occurrence of the current selection, which is excellent. However, sometimes you get false positives. The way to skip these is to press `Ctrl|Cmd` + `K` and `Ctrl|Cmd` + `D` in succession. You can see it in this screencast.

![Skipping a selecting with a keyboard shortcut](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jiyln3uronbtnjjihh0q.gif)
Metas para un negocio pequeño: 6 cosas que debes saber
Published: 2022-11-29 22:22:02

Establece metas para un negocio pequeño exitoso, son muchos los que empiezan, pero pocos son los que sobreviven en el tiempo. Suena algo irreal, cabe destacar, las estadísticas de los negocios que no logran alcanzar un éxito considerable y se visualiza cuáles fueron sus fallas, podemos darnos cuenta que todo empieza por la mala organización.

Organización de pequeñas metas que hacen que las cosas suceden. Caemos en el error de aspirar a algo grande, sin saber que todo lleva su proceso y esfuerzo.

En este artículo, daremos énfasis a la importancia de tener metas claras y precisas para lograr los resultados que deseas.

¿Qué son las metas?
En el logro de metas, hay una persona que es nuestro peor enemigo y es nosotros mismos.

Son muchas las cosas que las personas la detienen su mentalidad, creencias y actitud frente la vida. Fijarse metas personales ambiciosas y reales, aportan un grado de satisfacción enorme.

Es lo que ayuda a forjar tu carácter frente la vida. Aportando lo necesario para mejorar en nuestra vida, logrando lo que te propones.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w1nkfqv99j4ltd7u8dlm.jpg)
Una meta es prácticamente escribir tu futuro en una piedra. Toda meta se transforma en un combustible que nos ayuda a llegar a un destino.

Generando una autorrealización personal grande, más aún cuando estas en la cima del éxito. Las metas personales en tu vida, son básicamente una guía para…

**_Para seguir leyendo el artículo completamente gratis, abra el siguiente [enlace](https://www.arthii.com/metas-para-un-negocio-pequeno)_**
Importancia de las finanzas personales ¿Por qué necesita saber esto?
Published: 2022-11-29 22:19:57

Hoy te enseñaremos la importancia de las finanzas personales, cuáles son las ventajas de la gestión financiera y los beneficios que puedes alcanzar al tener tu presupuesto estructurado y resguardado.

No se puede refutar que el mundo cambió, no solo por todas las consecuencias que trajo la pandemia del Covid -19, también hablamos de los altos y bajos en la economía global.

Ganar y perder dinero se ha convertido en una preocupación diaria para todos los habitantes en cualquier parte del planeta.

Evidentemente, nadie desea perder dinero pero es lo más seguro si no se saben manejar los ingresos y egresos.

¡Cada centavo importa!
El primer mito a derrocar es que un gasto innecesario no afectará el presupuesto personal. Ese café o hamburguesa a media tarde después de almuerzo y solo por gusto, si traerán consecuencias a la hora de pagar tus cuentas. La razón es muy sencilla: estás gastando más de lo que deberías.

De modo que, todos tus recursos financieros se ven desordenados por tus impulsos fuera de lugar.

No puedes olvidar que necesitas aprender a establecer prioridades para que tu vida sea mejor, la importancia de las finanzas personales radica en garantizar tu bienestar integral.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hod3n2ejima78352lhel.jpg)
Descubre cuánto ganas y cuánto pierdes
Después de hacer consciencia sobre los gastos fuera de lugar, llega el instante donde debes conocer con detalles exactos qué cantidad de dinero ingresa a tu cuenta de banco y, cuánto dinero sale de la cuenta.

Para comenzar, toma un lápiz y papel, anota cuidadosamente el sueldo que percibes y cuáles son tus gastos constantes.

Al momento de estar al tanto de tu presupuesto, el próximo paso será aplicar las medidas necesarias para reorganizar tu día a día apegado a cambios monetarios reales y ...

_**Para seguir leyendo el artículo completamente gratis, abra el siguiente [enlace](https://www.arthii.com/importancia-de-las-finanzas-personales)**_
6 Mejores fuentes de financiamiento para proyectos
Published: 2022-11-29 22:16:59

Decidir tener un negocio propio conlleva una serie de exigencias y esfuerzos. Llevar a cabo la idea financiera de tus sueños no es imposible, siempre y cuando conozcas detalladamente las mejores fuentes de financiamiento para proyectos.

Gracias a la ayuda de distintas entidades, personas o vías podrás obtener el capital requerido. Si deseas conocer a profundidad cómo, cuándo y qué necesitas para realizar tu plan empresarial, continúa leyendo para que aprendas acerca de las asistencias monetarias en la actualidad.

## Define tus ideas
El primer paso para decidir cuáles fuentes de financiamiento para proyectos escoger, se basa en establecer el plan de trabajo. Lo que se traduce en definir las ideas sobre el negocio, empresa, proyecto, entre otros, que deseas ejecutar. En el momento presente, se percibe la apertura hacia los nuevos mercados y en la gran mayoría de los casos todas las propuestas son aceptadas.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gr8kwwb8g2jmagj47t7h.jpg)
En tu mente puedes tener la idea del millón de dólares, sin embargo, si no la presentas adecuadamente todo tu esfuerzo habrá sido en vano. Por esa razón, toma el tiempo necesario y construye tu proyecto con bases sólidas.

## 1. El banco: fuente de financiamiento por excelencia
Desde la creación de las entidades bancarias, se visualizaron las oportunidades para todas las personas que desean materializar sus planes de negocios. Sin dudas, unas de las mejores fuentes de financiamiento para proyectos siguen siendo los bancos.

Recordemos que son entidades públicas o privadas que prestan diferentes servicios, entre ellos, se encuentran métodos para asistir monetariamente a sus clientes, con la finalidad de ayudarlos a consolidar los proyectos. Asimismo, de acuerdo a la necesidad financiera se les procura soluciones que le sean favorables como tasas de intereses bajos y pagaderos en cómodas cuotas.

**_Para seguir leyendo el artículo completamente gratis, abra el siguiente [enlace](https://www.arthii.com/mejores-fuentes-de-financiamiento-para-proyectos)_**
Finanzas personales: 6 mejores consejos para mejorar
Published: 2022-11-29 22:13:08

Poseer una economía individual balanceada es la meta de todos. No obstante, al momento de revisar la cuenta del banco podemos percatarnos que nuestros ahorros no son suficientes. Ese preciso instante nos lleva a reflexionar sobre cómo desarrollar una estrategia financiera que nos conduzca a la libertad monetaria.

Las finanzas personales no deben ser un dolor de cabeza, sino la manera más cómoda y organizada para obtener todo lo que deseamos en nuestro día a día. Si crees que las vacaciones en Cancún, el coche nuevo y la sudadera que tanto deseas son inalcanzables, te recomendamos que continúes leyendo para que aprendas excelentes consejos para mejorar el egreso e ingreso de tu dinero.

¿Qué son las finanzas personales?
El capital que tú generas con tu empleo y el dinero que gastas para pagar tus cuentas pendientes o placeres, se pueden definir como finanzas personales . En consecuencia, idear planes para mejorar la utilización de cada centavo te garantiza resultados adecuados en tu vida cotidiana. Hoy en día no se necesita contratar a un economista para que te de consejos, puesto que, cuando empieces a aplicar los siguientes trucos ¡sabrás lo que es ser libre financieramente!

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/09tzoqvmafs0hrjlzlwx.jpg)
**_Para seguir leyendo el artículo completamente gratis, abra el siguiente [enlace](https://www.arthii.com/finanzas-personales-6-mejores-consejos/)_**
Cat88, cat88 vip - nhà cái uy tín hàng đầu hiện nay
Tags: cat88, cat88vip
Published: 2022-11-29 22:02:42

[**CAT88, CAT88 VIP**](https://cat88vip.org)  còn được biết đến phổ biến với nhiều tên gọi khác như CAT88 VIP, NHÀ CÁI **[CAT88](https://cat88vip.org)**,…  **[CAT88, CAT88 VIP](https://cat88vip.org)**  đã hoạt động trong lĩnh vực cá cược gần 10 năm trên thị trường nước ngoài và trong nước. Trải qua nhiều thăng trầm thì trang web đã tích lũy được kinh nghiệm quý giá và thành tựu lớn trong lĩnh vực cá cược trực tuyến.
Nhà cái liên tục đưa ra mục tiêu đổi mới không ngừng chất lượng sản phẩm cá cược, dịch vụ chăm sóc khác hàng cũng như các kênh quản lí. Vì vậy anh em khi đã tham gia vào đây sẽ có trải nghiệm giải trí tuyệt vời nhất. Do đó cũng dễ hiểu khi cái tên **[Cat88,Cat88 vip](https://cat88vip.org)** ngày càng trở thành sự lựa chọn hàng đầu của nhiều người
 Website: [https://cat88vip.org](https://cat88vip.org)
Địa chỉ: Tòa Nhà CATMARK 66 Quang Trung, Phường 4, Quận 5, Thành phố Hồ Chí Minh, Việt Nam

 Zalo: 877871013
 email: cat88viporg@gmail.com
Regex 101: A primer
Tags: regex, javascript, webdev
Published: 2022-11-29 21:36:28

Let's examine a regular expression, the kind you could get to fill out live at a technical interview for a variety of languages and frameworks. Why? Because it shows your logic perfectly and it shouldn't take you more than 10 minutes to complete, even if you're rusty on the regular expression logic. You're allowed to use https://regex101.com, which has a wonderful help section which you can use. 

## The instructions

Here's an unfinished regular expression:
`(?<name>.*)$`
(see and open https://regex101.com/r/hhwiRl/2)

This is your test string:
`2-13_oops-i-did-it-again_britney-spears.mp3
3-13_toxic_britney-spears.vaw
hold-it-against-me_britney-spears.flac
unknown.mp3`

There is already a baseline provided, I’d like you to finish this regex. Imagine the test input as a text file containing multiple lines of songs on different albums. For each line, we’d like to extract the **edition** (so which song on the album it is), the song **name**, the **artist** name and the **extension**. The name is the only thing required. Imagine this as extracted metadata in a player like Winamp. The different parts of the filename are separated by underscores and spaces are mimicked with dashes. It is OK if the parts contain the dashes, as you will not be able to replace them within this regex. All the help you need is in the bottom right corner of the webpage so I’d encourage you to use it as nobody knows all of the delimiters by heart.

## The solution

What you'd be expected to come up with, is this:
`(?<edition>\d{1,8}-\d{1,8})?_?(?<name>[^_.]+)_?(?<artist>[^_.]+)?.(?<extension>[\S]{1,8})?$`
(see https://regex101.com/r/3qW52u/1)

First thing you'll notice is the usage of named groups. In javascript, we'd extract the named groups like this:

```
    const {
      groups: { edition, name, artist, extension },
    } = /(?<edition>\d{1,8}-\d{1,8})?_?(?<name>[^_.]+)_?(?<artist>[^_.]+)?.(?<extension>[\S]{1,8})?$/.exec(
      filename
    );
```

For the rest, you can see a very nice explanation that regex101 came up with for our regex:


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

And here is a visualisation of one of our matches:

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

Voila!
Nuestro propio internet, #SystemExit
Tags: prepper, internet, anarquia
Published: 2022-11-29 21:13:12

Investigando para por si el Sistema nos jala el cable y nos deja sin internet.

Que pasaria si en algun caso hipotetico de internet doomsday, el Sistema, la oligarquia, los gobiernos las intituciones de un malvado estado tiranico fascista y neoliberal nos quita el internet, pues resistiremos y lo volveremos a poner, aqui esta una de las formas, con packet radio x.25

Necesitamos traer de los camaradas chinos el siguiente equipo:

Un wokie toky banda civil con interfas como el Baofeng uv5r

https://m.es.aliexpress.com/wholesale/Baofeng+UV5R+Radio.html?osf=direct&spm=a2g0n.best.header.0

El cable de datos o cable para programar el radio

https://m.es.aliexpress.com/wholesale/Baofeng+usb+tnc.html?osf=direct&spm=a2g0n.best.header.0

Por aqui hay varia informacion de los camaradas de banda civil y de preppers

https://purdylounge.com/programming-a-baofeng-radio/#:~:text=Programming%20a%20BaoFeng%20Radio%3A%20Step%20By%20Step%20Guide,Setting%20the%20Transmitting%20Frequency%20and%20The%20Memory%20Channel

https://www.youtube.com/watch?v=W5NeGF1klQY&t=23s

https://www.youtube.com/watch?v=GjYLhDKrNeE&t=68s

https://cupano.com/2018/12/27/packet-radio-connected-modes-with-the-baofeng-uv-5r/

https://www.complete.org/packet-radio/

https://www.qsl.net/ik5bcu/newgate.htm
Check out my NextJS project - Coteacher.com
Tags: nextjs, node, webdev
Published: 2022-11-29 21:09:02

I lead a team that built a collaboration platform for teachers that lives at Coteacher.com  

You can log in and see our platform or watch this 60 second video: https://youtu.be/P8Lnxemfy84

I want to pivot and move into a new space. FinTech. 

I am looking for a tech partner / Co founder that would like to work with me on turning Coteacher.com into a Question/Answer Fintech platform. 

I've built a prototype of the new site using carrd which you can see here:  https://wealthvillage.com 

If your interested in partnering please ping me on Linkedin: https://www.linkedin.com/in/fountenberry/
Halfway There!
Published: 2022-11-29 20:37:03

What do me and Bon Jovi have in common? We're both halfway there. Yes you heard that right: I'm halfway done with the Flatiron School program!

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jmilr8oaozcq2ajkxef6.gif
).
As I'm typing this, I'm preparing to present my third project. Phase three was about things like matrices, gradient descent, and classification models, but the project focused on classification models. This project was a little different, because we had more flexibility in working on it. We could choose our own dataset, and could choose what models we wanted to work with. 

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

There were so many options, but in the end I chose to work with a heart disease dataset. My project was to build a model that would predict if a patient was at risk for heart disease, given various factors. The project challenged me in several different ways (some new, some old), but I stuck through it and feel more accomplished than ever! I won't spoil anything for you, but if you want to check it out, it can be found here: [(https://github.com/aharri123/Heart-disease-classification)]



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/53ix4lvbw27kmi7ajq30.jpg)

In all honesty, there isn't much else to say, so I'll keep this short and sweet, but not before talking about mental health. After all, no blog of mine would be complete without talking about mental health! My mental health has stayed consistently well, and if anything I have had less bad days than ever before. I've been taking my medication and going to therapy as well. I will say that I probably need to go out more and have some fun, but hey it's a work in progress. All in all, I'd say that things are going well, and that I'm relatively happier. I know that not everyone can say the same thing, but to those who are struggling: I promise you, it does get better, and I'm so proud of you for continuing to try.
Node.js v19.2.0 Release
Tags: node, javascript, release
Published: 2022-11-29 20:08:38

---
title: Node.js v19.2.0 Release
published: true
description: v19.2.0 is now the latest (Current) version of Node.js
tags: node, javascript, release
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gcq6zchpr4568auvy114.png
---

A new version of the Node.js runtime is out now! 🥳

## Notable changes:

### buffer:
  *  add new `File` class

### deps:
  * update timezone
  * update V8 to 10.8.168.20

### doc:
  * deprecate use of invalid ports in `url.parse`

### util:
  * add fast path for utf8 encoding

See the full changelog: https://nodejs.org/en/blog/release/v19.2.0/