teleren/devto huggingface dataset:
Introductions + Ongoing Gamedev Projects
Tags: welcome, javascript, gamedev
Published: 2024-05-15 03:18:52

Hi, I'm Paul. I'm a Ruby/Javascript developer and aspiring gamedev. I've been working professionally with web development for 20+ years. I've been dabbling in indie projects recently and was looking for a blogging platform to more freely share things. (Twitter can only do so much.)

A quick overview of my two current projects, both related to gaming:

## WebMUDs

I was introduced to MUDs (Multi-User Dungeon - text-based MMOs) in the 90s and wanted to bring them back using modern technologies. MUD games are usually played over telnet/ssh, but they are very capable of running in browsers as well.

So I'm building a platform called WebMUDs where creators can create games using web forms and have them played in the browser. It's not a game per se but a game maker.

The project is in early stages of development and a prototype used to be up back when Heroku had free plans. I'm currently working on deploying the project to another platform. I'll post an update here once the project is back up.

## Fightron

Fighting games are my other favorite game genre, so I wanted to create one myself. It's a huge challenge for me since I am not an artist, just a programmer, and those kinds of games rely a lot of art and visuals.

I've compromised for now with creating characters in blocky style (they're just a bunch of boxes glued together really) so that I am able to program the gameplay elements without worrying too much about visuals for now.

The first variant of the project is a beat-em-up and there is currently a very basic prototype running at:

https://prototype.fightron.com/

It has an offline and online mode. The online mode uses Websockets and runs in Node/Bun, currently hosted on Railway in the US-West region.

Here's a video of a multiplayer session done using the early versions of the prototype:

{% embed https://twitter.com/pauld_fgc/status/1646378549090168833 %}

Creating such a browser game has been a great challenge and I'm confident I can evolve it enough to turn it into a good product. If people will buy it remains to be seen. 😅
How Traditional Sauna Heaters Work
Tags: sauna
Published: 2024-05-15 02:51:41


screenshot-1711593510151.png
The Fantastic Sauna Heater – A Guide to How It Works



Introduction to the Sauna Heater



Have you ever wondered how people get hot in a  Well, traditional Sauna Heaters are the answer. These heaters are innovative devices that have been used in Finland for centuries to generate heat and create the perfect sauna experience. They are designed with safety in mind and offer a wide range of benefits that make them a popular choice for sauna enthusiasts worldwide.





Features

One of the biggest options that come with the Sauna Heater having the ability to provide a frequent amount of temperature. These devices are made to deliver temperature gradually and steadily, creating a cushty and relaxing sauna environment unlike other types of heaters. Also, the Sauna Heater extremely energy-efficient you an supply and a leg to utilize– it doesn't consume a good amount of energy, what this means is it's not going to run. Finally, the which is heater sturdy and sturdy, which means that it'll last you for quite some time in the future.

How a Sauna Heater Works

Well, it truly is which is pretty is straightforward you turn on the sauna Heater, it begins heating the stones that are put on top of it. These rocks absorb the launch and heat it gradually, developing a warm and environment which is comfortable the sauna. You'll get a grip on the heat by pouring water concerning the stones being hot the more water you pour, the hotter it gets.

How exactly to Use the Sauna Heater

Using the Sauna Heatersauna heater is easy! First, it's also important to make certain that the stones may be found in destination then plug in the heater. Once it's plugged in, switch it on and await a brief moments being few the rocks start to heat up. Then, pour some water about the stones to build steam – the steam can assist you to humidify the atmosphere and up open your pores. Stay right back, relax and relish the warmth!

Service, Quality, and Application

In terms of the Sauna which is Heater quality is key. High-quality Sauna Heaters are created with safety in mind and are generally made from durable and materials which can be lasting. Additionally, quality Sauna Heaters come with comprehensive solution programs, making certain any dilemmas can quickly effectively be addressed and.

Regarding application, Sauna Heaters may be used in a number of different settings – from private homes to commercial spas and everything in between. They have been versatile products being well suited for creating a soothing and environment which is irrespective which is comfortable of you will end up.





Conclusion:



Overall, the sauna heater 9kw is an excellent choice for anyone looking to create a comfortable and relaxing sauna experience. They are innovative devices that are incredibly energy-efficient, safe, and easy to use. With their sturdy build, comprehensive service programs, and versatile application, the Sauna Heater is an investment that you won't regret. So, what are you waiting for? Give a Sauna Heater a try today.
Comparing fibre cement sheet to vinyl siding.
Tags: fibersheet
Published: 2024-05-15 03:10:16


screenshot-1713899347260.png
Introduction



When it comes to exterior finishes for homes, two common options are fibre cement sheets and vinyl siding. Both materials boast unique advantages that cater to different homeowners' needs. , we will compare these two materials and help you decide which one might be the best fit for you.



Options that come with fiber Cement Sheets

Fiber concrete sheets are comprised of concrete, sand, and cellulose fiber, making them durable and resistant to climate like extreme, such as for example temperature like extreme strong winds.

These are generally an alternative like eco-friendly they contain normal concrete and don't release harmful substances that are chemical to the environment.

fiber cement sheets also offer a number of textures and colors, supplying home owners with endless design opportunities.

Great things about Vinyl Siding

Vinyl siding comprises of PVC (polyvinyl chloride), that means it is lightweight, an easy task to install, and cost-effective.

Vinyl siding can be energy-efficient as it functions as being a layer of insulation in your house's outside wall.

It's accessible in a amount like genuine of and styles, which makes it custom-made the look of home.

Just how to Use fiber Cement Sheets and Vinyl Siding

Fiber cement sheets require expert installation for their size and fat.

Additionally they need frequent painting to help keep the appearance of them.

Having said that, vinyl siding now is easier to set up, and home owners can choose for DIY installation.

Vinyl siding only requires cleaning like periodic with no staining or painting is necessary.

Quality of Service and Application

With regards to fiberconcrete, quality should be a consideration really like high.

Only choose trusted brands by having a reputation for top-quality items and customer service like good.

The applies that are precise are same vinyl siding.

Ensure that you buy quality items supported by manufacturers who provide warranties and after-sales which can be good.

Innovation and protection

Innovation plays an role like important enhancing the security of fiber concrete sheets and siding like vinyl.

Manufacturers are developing more recent variations of both materials with additional features such as fire resistance, impact resistance, and better insulation properties.



Conclusion



Choosing between  fiber cement sheets and vinyl siding is a big decision. Consider your needs, budget, and the climate in your area when making your choice. Fibre cement sheets offer durability and eco-friendliness, while vinyl siding offers affordability and customization options. With both materials, quality, and safety, innovation is essential. By considering these factors, you can make an informed decision and select the best option for your home.
sexto
Published: 2024-05-15 03:05:08

Com o resultado assegurado, o Corinthians diminuiu o ímpeto na segunda etapa. Dessa forma, acabou por criar menos e até ofereceu chances ao adversário de reduzir a diferença. Entretanto, não chegou a jogar mal. Tanto que, dos 11 aos 20 minutos, em suma, teve cinco boas chances de ampliar. Yuri Alberto (três vezes), Wesley e Gustavo Henrique chegaram perto.

Mais do meio para o final, em resumo, foi o Argentinos Juniors que ameaçou. Veron, Heredia e Batallini deram trabalho a Carlos Miguel, que foi muito bem quando exigido. Já nos acréscimos, por fim, Fausto Vera fez valer a lei do ex e transformou a vitória em goleada.

CORINTHIANS 4 X 0 ARGENTINOS JUNIORS
5ª rodada do Grupo F da Copa Sul-Americana

Data: 14/05/2024

Local: Neo Química Arena

Público: 40.049 presentes

https://www.terra.com.br/esportes/futebol/copa-sul-americana/corinthians-goleia-argentinos-juniors-e-decide-vaga-na-sul-americana-com-racing,cc54831a3cfe0d1e7e9451e5545a3a900axow2jp.html?utm_source=clipboard
gol
Tags: css
Published: 2024-05-15 03:02:51

nthians beirou a perfeição e jogou o melhor primeiro tempo da temporada. Senhor do jogo, sofreu pouco e, sendo assim, aproveitou as chances que criou. Logo aos 9 minutos, Fagner cobrou falta na cabeça de Yuri Alberto, que abriu o placar. O gol, afinal, tranquilizou o Timão, que seguiu sempre perto de marcar o segundo, e abalou os visitantes, que pouco fizeram. No lance mais agudo, Carlos Miguel mandou para escanteio cabeçada de Meza.

De tanto tentar, os anfitriões fizeram o segundo. Aos 40, o Argentinos errou na saída de bola e Wesley mandou por cobertura.  O gol desnorteou o adversário, que errou novamente e desta vez, Yuri Alberto fez o seu segundo no jogo e o terceiro do Timão.

https://www.terra.com.br/esportes/futebol/copa-sul-americana/corinthians-goleia-argentinos-juniors-e-decide-vaga-na-sul-americana-com-racing,cc54831a3cfe0d1e7e9451e5545a3a900axow2jp.html?utm_source=clipboard
Oke365 : Situs Slot Gacor Resmi Terpercaya 2024
Tags: maxwin, sensational, oke365, slotgacor
Published: 2024-05-15 03:02:42


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bxu4v10wxuaqbmlyqwgp.jpg)
[Oke365](https://buletinbogor.com/judi-slot) Merupakan Situs Resmi Judi Online SlotGacor Terpercaya Dengan [RTP Terbaik](https://dev.to/oke365/oke365-situs-slot-gacor-resmi-terpercaya-2024-1e2m) yang Memberikan Peluang Besar Untuk Mendapatkan Maxwin Paling [Sensational](https://dev.to/oke365/oke365-situs-slot-gacor-resmi-terpercaya-2024-1e2m).

Mengapa harus bermain di Oke365?
- Sebagai situs resmi oke365 selalu mengutamakan layanan pelanggan terbaik 7x24 jam tanpa offline.
- Kemenangan berapapun akan selalu di bayar oleh situs oke365 karena terikat lisensi resmi dari judi online ternama seperti PAGCOR dan GOODGAME juga BMM TESTLABS.
- Menjaga kerahasiaan data para pemain nya sehingga memberikan kenyamanan kepada para bettor untuk bermain dan melakukan transaksi di situs kami.
- Menjadi agen judi online resmi terbaik bukan sekedar hanya predikat semata, oke365 benar-benar berupaya memberikan fitur dan ruang grup serta komunitas untuk para player agar bisa berinteraksi dengan admin, seperti grup [telegram](https://t.me/gacor188).

Visi dan Misi Oke365.
- Tentu saja dengan semakin marak nya situs judi online saat ini banyak juga situs scam yang beredar, oleh karena itu [OKE365](https://buletinbogor.com/judi-slot) memberikan sebuah wadah dan platform agar terhindar dari tangan jahil situs scam yang semakin marak belakangan ini.
- Dengan hadir nya platform resmi seperti Oke365, tentu saja kami berharap para player menjadi semakin pintar dan tidak mudah termakan janji manis para marketing scamer yang menawarkan bonus dan promo di luar nalar.

Note :
Mudah-mudahan dengan ada nya tulisan ini dan ribuan member yang selalu setia di situs slot gacor kami, akan membuat [OKE365](https://buletinbogor.com/judi-slot) semakin besar dan dapat menjadi situs terbaik No.1 di Indonesia.
How to create a WeCom App to enable WeCom Login for the Web app
Tags: oidc, oauth
Published: 2024-05-15 02:11:09

## Login to WeCom Console

https://work.weixin.qq.com/

## Create an app

Create a self-built app under the Apps tab:


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


## Note down app credentials

Firstly, note down the AgentId, Then Click View and send secrets to WeCom:

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


And note down the AppId and AppSecret from WeCom:

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

## Specify the callback domain
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/76hj1hctn19odl390fml.png)


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


## Configure the Trusted IP List

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


Done!

After the integration, you can now log in through WeCom. The final result would be like:

- https://www.zhihu.com/zvideo/1487480084424122368

- https://www.zhihu.com/zvideo/1484138937099190272
link com vercel
Tags: api, programacao
Published: 2024-05-15 02:57:05

O Corinthians derrotou o Argentinos Juniors por 4 a 0, nesta terça-feira, 14, na Neo Química Arena, e depende apenas de si para se classificar à próxima fase da Sul-Americana. A vitória, aliás, garantiu o Timão na segunda posição. Desse modo, caso não vença o Racing-URU na próxima rodada, jogará repescagem contra time egresso da Libertadores. Os gols da noite foram de Yuri Alberto (2), Wesley e Fausto Vera.

O Timão agora volta suas atenções para o Brasileirão, onde busca recuperação. Domingo, em casa, encara o Botafogo, às 16 horas. Já o Argentinos Juniors vai a Avellaneda enfrentar o Racing, pelo Campeonato Argentino.

https://www.terra.com.br/esportes/corinthians/corinthians-goleia-argentinos-juniors-e-decide-vaga-com-racing,cc54831a3cfe0d1e7e9451e5545a3a900axow2jp.html?utm_source=clipboard
Why You are Not Getting Interviews
Tags: html, beginners, webdev, programming
Published: 2024-05-15 02:09:00

So, right now you are a web developer, right? not quite. You thought we were done here? Not yet.

What most people do is that they get to this point. And they build something like a weather app or to do app or this basic project and then they are like "I built like 5 projects in JavaScript. Why I'm I still not getting interviews?"

Well, because your projects suck at this point.

Before we get into the topic, if you are interested in learning how to have a successful career in software, make sure to sign up to [my free weekly newsletter](karlgusta.substack.com).

The thing is, up until this point, we have been learning basically plain JavaScript with plain HTML and plain CSS.

But the thing is, and I am sorry to have to tell you this, in 2024, no one uses plain JavaScript.

Everyone uses what we know as framework.

What a framework is is basically like a pre-built thing that is built around plain JavaScript to make web development easier for you.

Remember from our explanation before, we have got the backend and we have got the frontend.

Actually building our server and everything like that manually is freaking complicated. So, they have built this prebuilt frameworks with everything that you need to start using the server right away.

Same thing for the frontend. If you are building out a complex frontend for our website is actually quite complicated. So, they built this frameworks so as to make it easier for you.

"So why do we spend so much time learning plain HTML and plain JavaScript if no one uses them?"

Well, it is because, in order to understand this frameworks, you need to learn the foundations of plain JavaScript first.

It is sort of like trying to use a calculator before learning the foundations about addition, multiplication, works before that.

You need to understand the foundations so that then you can essentially ignore them and build on top of them.

I mentioned before, that you can use the backend in many different languages like Python or Java and things like this.

But if you have learnt JavaScript already, it makes sense for you to also do the backend in JavaScript using this framework called NodeJS and Express. There is this great course [The 2 Hour Web Developer](https://karlgusta.gumroad.com/l/eofdr/680bkf4) that you can check out.

Rooting for you!
Karl ⛹️
Understanding JavaScript Function Declarations: 'function' vs 'const'
Tags: javascript, webdev, programming, learning
Published: 2024-05-15 02:39:35

**JavaScript**, as a versatile and dynamic language, offers multiple ways to define functions. Among these, 'function' declarations and 'const' function expressions stand out as two common approaches. Understanding the differences between them is crucial for writing efficient and error-free JavaScript code. In this article, we'll explore the nuances of 'function' declarations and 'const' function expressions, their implications, and best practices.

**Exploring the Basics**
'**function**' Declarations: These are traditional function definitions that are hoisted within their scope. This means you can call them before they are declared in the code.

'**const**' Function Expressions: When defining functions using 'const', it creates a function expression. Unlike 'function' declarations, 'const' function expressions are not hoisted and result in an error when called before declaration.

**Understanding Hoisting in JavaScript**
**Hoisting** is a JavaScript mechanism where variables and function declarations are moved to the top of their containing scope during compilation.
'**function**' declarations are hoisted, allowing them to be called before their declaration in the code.
Conversely, '**const**' function expressions are not hoisted, and calling them before declaration will result in an error.

**Practical Example**

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


**Conclusion**
Understanding the differences between '**function**' declarations and '**const**' function expressions enables cleaner, more efficient JavaScript code. By mastering hoisting implications and choosing the right method, developers enhance code reliability and maintainability. Whether leveraging hoisting or constancy, mastering these concepts is essential for JavaScript proficiency.
Installation of PostgreSQL on Rocky Linux
Tags: programming, opensource, postgres
Published: 2024-05-15 02:31:24

Run the following commands on your rocky Linux to just get simple installation of postgres




dnf module list PostgreSQL # to check the modules of postgres available in the operating system. 

sudo dnf module enable postgresql:15   #to enable the default stream of postgress Hint : change the version you want to use as default like 12,13 or 14 

sudo dnf install postgresql-server   #it will install the dependencies and packages of postgres 

sudo postgresql-setup --initdb #to initialize db using the script ( postgresql-setup) downloaded with all the packages in previous commands


sudo -i -u postgres   #To go to postgres default user created when the packages installed. 

psql                  #after 


create user repuser replication;  #To create user
AI Agents: The Secret Sauce for Building a Successful Startup: Part 2
Tags: rag, llm, machinelearning, ai
Published: 2024-05-15 02:24:25

Your AI Workforce: Roles, Goals, and Backstories Unveiled

[Full Article](https://medium.com/ai-in-plain-english/ai-agents-the-secret-sauce-for-building-a-successful-startup-part-2-1320ba329734)

● What is the focus on this Article?
This article focuses on designing and coding AI agents to build a small startup focused on recruitment. It explores how to define the roles, goals, and backstories of these agents, as well as how to assign them tasks and coordinate their efforts to achieve an efficient recruitment process.

● Why Read this Article?
If you are interested in the potential of AI agents in revolutionizing traditional business processes, this article is a must-read. It provides insights into how AI agents can streamline complex operations, enhance efficiency, and leverage cutting-edge technologies to gain a competitive edge.

● Let's Design (Yes, Design) Employees!
The article defines a class called RecruitmentAgents, which serves as a blueprint for creating AI agents. Each agent is represented by a separate method within this class, with specific attributes tailored to their role, goal, backstory, and tools.
○ Job Hunter Agent: 
○ Resume Analyst Agent: 
○ Candidate Engagement Agent: 
○ Company Culture Investigator Agent: T
○ Workflow Orchestrator Agent: 

● Let's now assign goal / tasks to our Employee
The article outlines specific tasks for each agent:
○ Job Search Task for the Job Hunter Agent: Search for job openings in finance, tech, and manufacturing domains across various job websites and platforms, and compile a JSON file with the job opening data.
○ Resume Analysis Task for the Resume Analyst Agent: Analyze resumes and filter out the most qualified candidates based on predefined criteria, producing a shortlist of top candidates.
○ Candidate Outreach Task for the Candidate Engagement Agent: Craft personalized outreach messages to engage with the shortlisted candidates, setting the stage for further recruitment steps.
○ Company Research Task for the Company Culture Investigator Agent: Investigate the organizational culture
Length of consecutive 1's in Binary representation
Published: 2024-05-15 02:21:21

```
let input=110
```

```
output=3
```

In order to do this first we need to check whether the binary form of input contains consecutive or not


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

> n is given input if we do binary and operation between n left shift by 1 the output if it comes non zero then it is having consecutive 1 


_In order to find the longest consecutive ones in binary representation_

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

**first step** - n & n<<1 if it comes non zero then increment the initialized variable count to 1

**second step** - if non zero number comes up then previous output will become n and again continue step until n equals to zero

```
function getLongestConsecutiveOnes(n){
  let count=0
  
  while(n > 0){
    count++;
    n=(n&(n<<1))
  }
  
   return count;
}

console.log(getLongestConsecutiveOnes(110))
```
１３章47
Published: 2024-05-15 01:59:27



まず、以下が基のクラス `A` です：

```java
public class A {
    public Number test() {
        return 100;
    }
}
```

`A` クラスの `test` メソッドは、戻り値の型が `Number` で、引数はありません。

### 選択肢 A
```java
@Override
public Integer test() {
    return 0;
}
```
#### 説明：
- `Number` は `Integer` の親クラスなので、`Integer` は `Number` にキャスト可能です。
- `@Override` アノテーションは、親クラスのメソッドを正しくオーバーライドしていることを示します。
- 引数がなく、戻り値の型が親クラスの `Number` と互換性があるので、正しいオーバーライドです。

### 選択肢 B
```java
@Override
public Number test(int num) {
    return num;
}
```
#### 説明：
- メソッドのシグネチャ（引数の型と数）が異なります。親クラスの `test` メソッドは引数を取らないのに対し、こちらは `int` 型の引数を取ります。
- 引数が異なるため、これはオーバーライドではなく、新しいメソッドの定義です。
- `@Override` アノテーションがあるので、コンパイルエラーになります。

### 選択肢 C
```java
@Override
public void test() {
    // do something
}
```
#### 説明：
- 戻り値の型が `void` で、親クラスの `Number` 型とは異なります。
- 戻り値の型が異なるため、これは正しいオーバーライドではありません。
- `@Override` アノテーションがあるので、コンパイルエラーになります。

### 選択肢 D
```java
public Number test() throws Exception {
    return 0;
}
```
#### 説明：
- `throws Exception` は、メソッドが例外をスローする可能性があることを示しますが、親クラスの `test` メソッドにはこの宣言がありません。
- オーバーライドする際に新たなチェック例外をスローすることはできません（親クラスのメソッドがその例外をスローしていない場合）。
- `@Override` アノテーションがないため、シグネチャの一致は確認されませんが、コンパイルエラーになります。

### まとめ
選択肢 A は、メソッドのシグネチャ（引数の型と数、戻り値の型）が親クラスの `test` メソッドと正しく一致しているため、正しいオーバーライドです。その他の選択肢（B, C, D）は、シグネチャが異なるか、戻り値の型が一致しないため、間違いとなります。