teleren/devto huggingface dataset:
شركة تجهيزات سوبر ماركت
Published: 2023-09-15 23:19:20

<h2 style="text-align:right;"><span style="background-color:transparent;color:#000000;"><strong>الريادة في صناعة الثلاجات والمكيفات الصحراوية وأرفف السوبر ماركت وأرفف المستودعات وبرادات مياه السبيل&nbsp;</strong></span></h2>
<p style="text-align:right;"><span style="background-color:transparent;color:#000000;">نحن&nbsp;</span><a href="https://taghezaat.com/"><span style="background-color:transparent;color:#0563c1;"><u>شركة التجهيزات العالمية</u></span></a><span style="background-color:transparent;color:#000000;">&nbsp; الشركة الرائدة في صناعة ثلاجات وفريزرات العرض وأرفف السوبر ماركت وأرفف التخزين والمكيفات الصحراوية المركزية. نحن نسعى جاهدين لأن نكون في الصدارة في هذه الصناعة، ونحرص على تقديم منتجات ذات جودة عالية وأداء ممتاز لعملائنا حيث لدينا الكثير من الخبره والأيدي العامله الماهره والمدربه على أعلى مستوى في صناعة&nbsp;</span><a href="https://taghezaat.com/category/%d9%85%d9%86%d8%aa%d8%ac%d8%a7%d8%aa%d9%86%d8%a7/%d9%85%d9%83%d9%8a%d9%81%d8%a7%d8%aa-%d8%b5%d8%ad%d8%b1%d8%a7%d9%88%d9%8a%d9%87/"><span style="background-color:transparent;color:#0563c1;">المكيف الصحراوي</span></a><span style="background-color:transparent;color:#000000;"> ولدينا أيضا مصانع متعدده لجميع المنتجات التي سبق ذكرها مثل </span><a href="https://taghezaat.com/%d8%b4%d8%b1%d9%83%d8%a9-%d8%aa%d8%ac%d9%87%d9%8a%d8%b2%d8%a7%d8%aa-%d8%a7%d9%84%d8%b3%d9%88%d8%a8%d8%b1-%d9%85%d8%a7%d8%b1%d9%83%d8%aa/"><span style="background-color:transparent;color:#000000;">شركة تجهيز سوبر ماركت في السعودية</span></a></p>
<p style="text-align:right;"><span style="background-color:transparent;color:#000000;">فريق العمل لدينا متميز ومحترف بشكل استثنائي. يتمتع أعضاء فريقنا بمستوى عالٍ من الخبرة والكفاءة في مجالهم. نحن نعمل بشغف وتفانٍ لتطوير منتجاتنا باستمرار وتلبية توقعات واحتياجات عملائنا.</span></p>
<h2 style="text-align:right;"><span style="background-color:transparent;color:#000000;"><strong>التحقق من رضا العملاء</strong></span></h2>
<p style="text-align:right;"><span style="background-color:transparent;color:#000000;">في شركة التجهيزات العالمية ، فإن رضا العملاء هو هدفنا الأساسي. نحن نفهم أهمية الاستجابة السريعة وتقديم الحلول المناسبة لعملائنا. نحن نسعى لبناء علاقات طويلة الأمد مع عملائنا من خلال تقديم منتجات ذات جودة عالية مثل </span><a href="https://taghezaat.com/%d8%b5%d9%8a%d8%a7%d9%86%d8%a9-%d8%a7%d9%84%d9%85%d9%83%d9%8a%d9%81%d8%a7%d8%aa-%d8%a7%d9%84%d8%b5%d8%ad%d8%b1%d8%a7%d9%88%d9%8a%d8%a9/"><span style="background-color:transparent;color:#000000;">صيانة مكيف صحراوي في الرياض</span></a><span style="background-color:transparent;color:#000000;"> وخدمة عملاء متميزة.</span></p>
<p style="text-align:right;"><span style="background-color:transparent;color:#000000;">نحن نستمع بعناية لملاحظات عملائنا ونعتبرها فرصة للتطور والتحسين المستمر. نحن ملتزمون بتلبية توقعات عملائنا وتجاوزها بشكل مستمر، وذلك من خلال رفع مستوى جودة منتجاتنا وتحسين تجربة العملاء معنا</span></p>
Bun.js hype
Tags: discuss, bunjs, javascript, newsletter
Published: 2023-09-15 23:34:43

In February 2023, the programming world witnessed the launch of Bun.js, a new web framework built on PHP. This innovation was warmly embraced by the PHP community, which saw in Bun.js a promising opportunity to rejuvenate the language and compete head-to-head with other renowned web frameworks like Node.js.

**But what exactly is Bun.js?**
Bun.js is essentially a PHP framework that stands out by offering a range of advantages over existing PHP frameworks. Its notable feature lies in the use of a more concise syntax, making the code more accessible for both writing and reading. Additionally, Bun.js adopts the event-driven programming model, which proves to be more efficient and scalable when compared to the traditional programming model. Another point in its favor is the robust ecosystem of libraries, simplifying the development of complex web applications for developers.

Some enthusiastic proponents of Bun.js argue that this framework outperforms Node.js in terms of speed, security, and scalability. However, these claims have not yet been substantiated by independent testing.

**But is Bun.js really the best web framework on the market?**

The short answer is: not yet. Bun.js is undoubtedly a high-quality web framework, but as of the present moment, it is not superior to Node.js in all aspects.
Node.js remains the preferred choice for many developers for various reasons. Furthermore, Node.js is single-threaded but utilizes an asynchronous event-driven model that makes it highly scalable. In contrast, Bun.js is multithreaded but does not exhibit the same efficiency as Node.js in high-traffic web applications. Additionally, Node.js benefits from a substantially broader ecosystem of libraries and tools, while Bun.js has a more limited set of libraries and tools.

Node.js, anchored by the Google JavaScript V8 interpreter, is often favored for its speed. It is worth mentioning that there are already discussions in forums regarding the performance of Bun.js on Apple Chip devices, even when using JavaScriptCore, which is employed in Safari.

In summary, Bun.js still stands out as an excellent option for PHP developers seeking a modern and user-friendly web framework. However, for complex or high-traffic web applications, Node.js remains the more prudent choice. The hype surrounding Bun.js reflects positively on the PHP community, showcasing a commitment to innovation and a desire to make the language more competitive. Nonetheless, it is crucial to maintain realistic expectations regarding Bun.js' capabilities.
Code review - a unique way of debugging
Tags: opensource, beginners, testing, python
Published: 2023-09-15 23:06:55

**How did you go about finding someone to work with?** 

A lot of students had posted around our Slack channel looking for help, which made it very easy to find someone looking for a code reviewer. I told one of my classmates I would look through his repo and ended up sending him mine through a DM.

**What was it like testing and reviewing someone else's code? Did you run into any problems? Did anything surprise you?**

It was very fun! It provided me with a lot of insight into the many ways a solution could've been built. It also made me realize I have some missing features in my release. I did run into a couple of problems, mainly in the functionality which I will get into later. The most surprising thing about the repo I reviewed was the complexity of the solution. It was very nicely crafted with a lot of techniques used and a variety of files that held either classes or helper functions.

**What was it like having someone test and review your code? Were you surprised by anything?**

I was surprised by how much I ended up overlooking. Obvious functionalities such as only utilizing text files went completely over my head but were found by my code reviewer, thankfully.

**What kind of issues came up in your the testing and review? Discuss a few of them in detail.**

There was a relatively large issue where single-file-translation was not working for me. I tried a lot of different things to get it to work on my machine but it didn't seem to work, what made it strange was that folder translations worked flawlessly. One smaller thing I found was that the student forgot to normalize text in the files so adding multiple new lines would add a blank <p> tag in the HTML conversion.

**Provide links to issues you filed, and discuss what you found**

As discussed previously, one of the main functionalities didn't seem to work and a smaller bug was present, another issue was that the README didn't feature any installation or usage processes at the time I reviewed the repo. 

Link to reviewed repos' issues:
https://github.com/Amnish04/til-page-builder/issues

**Provide links to issues that were filed on your repo, and what they were about**

As I said earlier, I mistakenly forgot to include a couple of key things. Firstly I forgot to include some setup instructions within my README, but featured usage instructions. I also forgot to check for .txt files in the single conversion!

Link to my repos' issues:
https://github.com/Namatuzio/tiller/issues

**Were you able to fix all your issues? What was that like?**

I was able to fix most and know how to fix the rest, though I wasn't able to implement it in time due to time restraints with family events.

**What did you learn through the process of doing the testing and reviewing?**

I honestly learned a lot. I never knew having another set of eyes on a project would make it so much easier to debug code and create a stronger solution for a problem. It makes sense, but I'm amazed at how effective it is both for learning and building stronger code consistency.
Understanding JavaScript Temporal Dead Zone
Tags: javascript, programming
Published: 2023-09-15 22:56:35

**What is the Temporal Dead Zone (TDZ)?**

The Temporal Dead Zone refers to the zone in which a variable has been declared but has not yet been initialized. You can identify the Temporal Dead Zone by looking at code examples with comments labeled `//Temporal Dead Zone`, as shown in the pictures below. But Different types of variables in a true javascript way, we face different behaviors


---

let Behavior Inside TDZ (console.log is also within the TDZ)
![Let Variable Temporal Dead Zone](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1xky9hdgsa5btapxglgc.PNG)

---

**const Behavior Inside TDZ** (console.log is also within the TDZ)
![Tagalog Var Variable Temporal Dead Zone](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0bbqnrmb8k8onduinulg.PNG)

**var Behavior Inside TDZ** (console.log is also within the TDZ)
![Tagalog Var Variable Temporal Dead Zone](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/17fjy1h7g4qpkoal0jbr.PNG)

More info about TemporalDeadZone [Here](https://www.freecodecamp.org/news/what-is-the-temporal-dead-zone/)
What is the difference between Delphi Community Edition and Delphi Professional Edition?
Tags: delphi, programming
Published: 2023-09-15 22:42:20

Delphi is a programming language and integrated development environment (IDE) primarily used for creating software applications that run on Microsoft Windows. It's based on the Pascal programming language and offers a user-friendly IDE with features like a code editor, visual form designer, and debugger. Delphi promotes component-based development, supports object-oriented programming, and excels in database connectivity. While it originated as a Windows-centric platform, it has expanded to support cross-platform development using the FireMonkey framework. Delphi has an active developer community and is known for its rapid application development capabilities. If you want to [install Delphi on Windows 10](https://elvanco.com/blog/how-to-install-delphi-on-windows-10), follow the steps outlined in the installation guide.

## Delphi Community Edition VS Delphi Professional Edition?

### What are the key features of Delphi Community Edition?

1.**Free:** The Community Edition is typically available for free, making it accessible to individual developers, hobbyists, and small teams who have budget constraints.

2.**Limited Features:** It may come with some limitations compared to the professional or enterprise editions, such as restricted platform support, reduced database connectivity options, or missing advanced features.

3.**Non-Commercial Use:** The Community Edition may be restricted to non-commercial or personal use. This means you can use it for learning, experimentation, and small personal projects but not for commercial software development.

4.**Community Support:** Support for the Community Edition may primarily come from the Delphi community, [Delphi forums](https://devhubby.com/tag/delphi), and online resources, rather than dedicated customer support.

### What are the key features of Delphi Professional Edition?

1.**Paid:** The Professional Edition typically requires a paid license, which can vary in price depending on the version and features included.

2.**Full Feature Set:** The Professional Edition generally includes the full set of features and capabilities offered by Delphi, including support for various platforms, advanced database connectivity, and enterprise-level tools.

3.**Commercial Use:** It is licensed for commercial use, allowing developers to create and sell software applications for profit.

4.**Official Support:** Purchasing a Professional Edition often includes access to official customer support from the software vendor. This can be crucial for businesses developing mission-critical applications.

5.**Updates and Upgrades:** Professional Edition users typically receive regular updates, bug fixes, and the option to upgrade to new versions when they become available.
Step-by-Step Guide to Getting Started with GPTConsole's CLI for Developers
Tags: gptconsole, cli, ai, llm
Published: 2023-09-15 21:57:20


**Step 1: Installation**
Install [GPTConsole](https://www.gptconsole.ai/) using yarn or npm. 
```bash
yarn global add gpt-console
```
or 
```bash
npm i gpt-console -g
```

#### Step 2: Open GPTConsole
Open any terminal and type `gpt-console` to get started.

#### Step 3: Infinite Context Feature
GPTConsole offers Infinite Context. Infinite Context means all your previous prompts are stored. So when you ask something new, the system looks at what you’ve asked before. It uses the most relevant old questions to help make the new answer more accurate and useful.

#### Step 4: Auto-Copy to Clipboard
No more manual copying. Responses are automatically copied to your clipboard.

#### Step 5: LLM at Your Fingertips While Coding
No need to open a browser or ChatGPT. Just type your query in the terminal, and get instant, context-aware answers.

#### GPTConsole GitHub
For detailed instructions, visit the [GPTConsole GitHub](https://github.com/hribab/gpt-console) repository. If you're a developer aiming for efficiency, GPTConsole's CLI is worth exploring.
SparrowCI has moved to a free hosting and here are consequences
Tags: rakulang, sparrowci, oracle, hetzner
Published: 2023-09-15 21:38:37

---
title: SparrowCI has moved to a free hosting and here are consequences
published: true
description: Why you should bother
tags: RakuLang, SparrowCI, Oracle, Hetzner
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-09-15 21:08 +0000
---

So, finally I decided to move SparrowCI to a free hosting, goodbuy Hetzner cloud - cause for personal reasons the provider is no longer in my budget, but thanks to Oracle cloud that gives me 24 GB RAM / 4 CPUs ARM VM for free!


## Consequences number 1

SparrowCI will stay, at least as long as Oracle gives users some free hosting, which is considered as good news!


## Consequences number 2
 
And this is why you might bother - SparrowCI workers images are changed from AMD to ARM architecture and your pipelines will break, but here is an easy [fix] (https://github.com/melezhik/SparrowCI/blob/main/docs/dsl.md#docker-images) for this:

Change docker images according to the following table.


| OS          | Image                        
| ------------| ---------------------------- 
| Alpine      | melezhik/sparrow:alpine_arm  
| Debian      | melezhik/sparrow:debian_arm  
| Ubuntu      | melezhik/sparrow:ubuntu_arm  


## Consequence number 3

Multiple Rakudo versions tests are no longer possible as there is no Rakudo distribution yet available for ARM architecture, so you'll end up with such an [error](https://ci.sparrowhub.io/report/3622):

```
Couldn't find a precomp release for OS: "linux", 
architecture: "arm64", version: "2022.04"
```

So, meanwhile, one can test against a default (compiled from source) Rakudo version which is `2023.08`, so a typical pipeline would be:

```
tasks:
  -
    name: zef-build
    language: Bash
    default: true
    code: |
      set -e
      cd source/
      zef install --deps-only --/test .
      zef test .
```
Simplificando Orientação a Objetos
Published: 2023-09-15 21:24:23


**Objetos**
Uma forma de entender a programação orientada a objetos (POO) é pensar em uma caixa de Lego gigante, onde cada peça é um objeto. Os objetos têm propriedades (cor, tamanho, forma) e podem fazer coisas específicas. Com POO, você cria seus programas como se estivesse construindo um mundo de lego.


Classes e Objetos
Vamos pensar em objetos como coisas do mundo real que têm características e funções. Por exemplo, um carro é um objeto que tem cor, modelo, velocidade, etc. (características) e que pode acelerar, frear, ligar, etc. (funções). Para criar objetos em um programa, precisamos de uma estrutura que defina essas características e funções. Essa estrutura é chamada de classe.


Encapsulamento e Abstração
Uma forma de entender o encapsulamento é pensar em um micro-ondas. Você não precisa saber como ele aquece a comida, só precisa apertar os botões certos. O encapsulamento esconde os detalhes internos e mostra apenas o que é necessário. Já a abstração é como uma lista de compras: você não precisa saber de onde vem cada produto, só precisa pegá-los no mercado. A abstração simplifica as coisas e ignora o que é desnecessário.


Herança e Polimorfismo
Uma herança é pensar na relação entre pais e filhos. Por exemplo, você pode ter uma classe "Animal" que define características comuns a todos os animais, como "respirar". Depois, você pode ter classes "Cachorro" e "Gato" que herdam essas características da classe "Animal", mas também podem ter características próprias, como "latir" e "miar". O polimorfismo é a capacidade de objetos diferentes terem nomes de método iguais, mas com comportamentos diferentes, como diferentes tipos de cachorro reagindo ao comando "sentar".


Aplicação Prática
 Agora sabendo o básico, você pode criar objetos, definir classes e usar conceitos como herança e polimorfismo para resolver problemas de forma mais fácil e estruturada. É como ter um superpoder para enfrentar os desafios da programação.
Transaction Internals: Fast Path vs Multi-Shard
Tags: yugabytedb, distribute, sql, postgres
Published: 2023-09-15 21:18:30

During the [Distributed SQL Summit](https://distributedsql.org/) I've explained how YugabyteDB writes the SQL transaction provisional records to the IntentsDB and then to the RegularDB. For the demo, I started, in a Docker container, a single-node YugabyteDB cluster with `TEST_docdb_log_write_batches` enabled to log the write operations:
```sh
docker run -it \
-p7000:7000 -p9000:9000 -p15433:15433 -p5433:5433 \
yugabytedb/yugabyte:latest bash

yugabyted start --ui=false --listen=0.0.0.0 \
--tserver_flags="\
TEST_docdb_log_write_batches=true,\
yb_enable_read_committed_isolation=true,\
tserver_enable_metrics_snapshotter=false\
"

tail -n 1000 -F /root/var/logs/tserver/yb-tserver.*log.INFO.* |\
grep -vE '(DEBUG: Closing|Time spent)' &

```
I tailed the logfile in the background and this is what you see during the demo:

{% embed https://youtu.be/ppY2d4hjULU?si=xkdc1Dzp6Y5m4-83&t=643 %}

If you want to reproduce it, here are the commands I've run.

Lab: non-transactional on colocated
```sql
ysqlsh -h $(hostname)

create database franck with colocation=true;
\c franck

create table cities (name text primary key, country text)
;

insert into cities values ('Geneva','Switzerland')
;

```
Lab: delete is transactional
```sql
delete from cities
;

```
Lab: SQL transactions
```sql
begin transaction
;
insert into cities values ('Geneva','Switzerland')
;

insert into cities values ('Lausanne','Switzerland')
;

commit
;

```
Lab: secondary index
```sql
insert into cities values ('Geneva','Switzerland')
;

create index cities_country on cities(country)
;

insert into cities values ('Lausanne','Switzerland')
;

```
Lab: non transactional
```sql
set yb_disable_transactional_writes = on
;

insert into cities values ('Lausanne','Switzerland')
;

```

Reminder: this is not to be used in production. The parameters that start with `TEST` are used for regression tests. You can use it in a lab to understand how it works.
pcre2 - file not found. Corrigindo problema de instalação do PCOV no macOS
Tags: php, macos, pcov, codecoverage
Published: 2023-09-15 21:07:50

Por algum motivo eu fiz o favor de quebrar a instalação do PHP no meu sistema operacional. Beleza, vamos desinstalar e instalar novamente, sem problemas.

Instalei as principais extensões que utilizo, e na hora de instalar o `pcov` - pláu, erro fatal de instalação:

![homebrew error](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/whxxroi3ro6ygdxqex25.png)

Massa, só o que preciso fazer é instalar o `pcre2` e beleza 🙂.

Mas não foi tão beleza assim. Ao executar `brew install pcre2` acabei sendo informado que isso já estava instalado.


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

Verifiquei em alguns tutoriais mas não descobri nada. Tentei fazer um link simbólico do arquivo que estava "faltando" e nada. Vamos para a força bruta então.

## Resolvendo o problema
Por todos os fóruns por onde passei, o pessoal estava indicando fazer um link simbólico do header necessário para a compilação. Um dos mais indicados foi esse:

```bash
ln -s /opt/homebrew/Cellar/pcre2/10.42/include/pcre2.h /opt/homebrew/Cellar/php/8.2.10/include/php/ext/pcre/php_pcre.h
```

Porém não funcionou, então achei eu mesmo a solução:

```bash
ln -s /opt/homebrew/opt/pcre2/include/pcre2.h /opt/homebrew/opt/php@8.2/include/php/ext/pcre/
```

Depois disso é só rodar um `pecl install pcov` e tudo certo:

![pcov-instalado](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p7iq4u5txewep8i1tq9t.png)

Agora posso calcular novamente o test coverage das minhas aplicações.

Até a próxima amigos 😗 🧀
Vacancies in Pharma Sales Pan India for Managers in top HQs
Tags: pharmajob, vacancyinpharma, jobsinpharma, latestvacancypharma
Published: 2023-09-15 20:53:24

Indian Pharma Jobs provides candidates a platform to Search jobs in top pharma companies in seconds providing sales jobs of different designations at various Hq Pan India

Here you can ->

- Post Vacancy 

- Search vacancy witth HQ & designation

[https://www.indianpharmajobs.com/](https://www.indianpharmajobs.com/)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3juvcexxxs0bzbjrezs2.png)
Welcome to the Future of Learning
Tags: learning, programming, ai, edtech
Published: 2023-09-15 20:36:35

Introducing Insta Learn: Your AI-Powered Tech Learning Companion

Are you ready to take your tech skills to the next level? 

Meet [Insta Learn](https://instalearn.ai), your dynamic learning platform driven by artificial intelligence. 

Whether you're a college student seeking career opportunities or an IT professional looking to stay ahead in the industry, Insta Learn empowers your journey.

> What sets us apart?

**Personalised Courses**: Craft custom, structured courses on any tech topic that piques your interest.

**Multimedia Learning**: Choose your preferred learning style—videos, blogs, or podcasts—and Insta Learn finds top-rated resources for you.

**Hands-On Coding**: Dive into practical coding with exercises for your favourite programming languages.

**Built-In Code Editor**: Seamlessly code right within the platform and submit your work directly to GitHub.

**Automated Pull Requests**: Insta Learn goes the extra mile by creating and submitting pull requests on your behalf, followed by an AI-powered code review.

To get started, simply log in to your [InstaLearn](https://instalearn.ai) account, explore the available content, and let us know what you think. Your experience and feedback are incredibly important to us, and we're here to support you every step of the way.

[Insta Learn](https://instalearn.ai) is your partner in achieving tech excellence. Elevate your learning experience today!

https://instalearn.ai