teleren/devto huggingface dataset:
Installing Alacritty without installing Rust
Tags: alacritty, rust, terminal, docker
Published: 2022-06-21 18:44:20

---
title: Installing Alacritty without installing Rust
published: true
description: Install Alacritty in Linux without installing Rust
tags: Alacritty, Rust, terminal, Docker
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j0kzjjlgcr4qu6h407dz.jpg
# Use a ratio of 100:42 for best results.
---

A week ago I came to the [Alacritty's project homepage](https://alacritty.org/), again, and I wanted to install it, again, but was discouraged by reading that I had to build it.

I used to build things back in the days (I won't say I was really into compiling things from source, but I am old enough to have lived in a world before i , but more and more I prefer the convenience of just installing things without having to install all the dev tools in my machine.

In Rust's Docker image description you can find a section entitled [Compile your app inside the Docker container](https://github.com/docker-library/docs/tree/master/rust#compile-your-app-inside-the-docker-container), which is precisely what I wanted to do, but there will be a problem since two `lxcb` libraries are not included:

```
  = note: /usr/bin/ld: cannot find -lxcb-shape
          /usr/bin/ld: cannot find -lxcb-xfixes
          collect2: error: ld returned 1 exit status
          
error: could not compile `alacritty` due to previous error
```

-----

I had already started with this, so I'll depart a bit for some config, but it is essentially the same.

1. Instead of using the image to run cargo directly open a shell console.

```bash
docker run --rm -it -v (pwd):/backup rust /bin/bash
```

2. Update sources and install lxcb dev libraries.

```bash
# You are already root inside the container
apt-get update

# This is the only lib missing from Alacritty's build pre-requisites
apt-get install libxcb-xfixes0-dev

# Now compile, you can use the more concise command from Rust's image description
cargo install alacritty
# I mounted my home dir as /backup
cp /usr/local/cargo/bin/alacritty /backup/alacritty
```

3. Outside of the container you need to copy `alacritty` to some directory included in your `PATH`, I used:

```bash
sudo mv alacritty /usr/local/bin/alacritty
```

-----

One final notice is that, as stated in the [build instructions](https://github.com/alacritty/alacritty/blob/master/INSTALL.md), this won't install  the terminfo file, desktop entry, manual page or shell completions, but shouldn't be hard to get that working.
GTA V and Online are coming to PS5: How do you transfer what's saved?
Tags: webdev, javascript, beginners
Published: 2022-06-21 18:31:07

GTA V and [GTA Online](https://www.banditroom.site/) are coming to PS5 on March 15th. How do you transfer your history and character to the console?

For the GTA fans, who are still patiently waiting for the official release of the sixth installment, it is soon time to rediscover the immortal GTA V and GTA Online on PS5 in a few days. On March 15, the two games will be released on Sony's latest generation of gaming consoles with new enhanced versions. To celebrate the event, Sony is revealing the procedure to follow to transfer your existing saves to PS5.

Keep your gaming hours intact
Players of GTA V, the only title in the series that will be able to tell three generations of consoles, have spent many hours walking the streets of San Andreas and it would be a shame to lose everything when you have the opportunity to resume the adventure. Because it was left in better shape. This is why one can move what has been saved in story mode without loss.

To do this, there is a simple solution available today. First you need to make sure that you have a Rockstar Games Social Club account. Then go to the game GTA V, then in the menu press "Load save". This backup will then be available on the Rockstar Games Social Club, and you can restore it on PS5 by doing the same, within a maximum of 90 days.

For GTA Online, the procedure is slightly different. If there's no manipulation to do, you'll still have to wait until March 15th to migrate all of your characters' progress (including stats, vehicles, properties, weapons, clothes, and jobs you've created). To get it, you just need to have a Rockstar Games Social Club account and play the game on PS5.

GTA Online will be free temporarily
Both games will be available for download starting March 15th. They will benefit from improvements in terms of content, performance, and graphics. On GTA Online, Rockstar warns that there will be "new vehicles, a new addition to Los Santos Car Meet: Hao's Special Works, as well as a new job-building feature".
https://bobpeterson.tumblr.com/
https://modalnikungpacarorang.tumblr.com/
https://kored4151.tumblr.com/
https://certainblazesalad.tumblr.com/
https://c.realme.com/eg/post-details/1538977770653745152
https://c.realme.com/eg/post-details/1538979190643785728
https://c.realme.com/eg/post-details/1538985420942606336
https://c.realme.com/eg/post-details/1538986648757993472
https://dev.to/bunga_isnaini2

Finally, PS5 players will be able to download GTA Online for free for 3 months after its release on the console. If it is usually included in the GTA V demo, it will be available independently for those who just want to take advantage of multiplayer at a lower cost, especially since we still can't reach the prices of these versions.
🍔 Burgers & Drinks - Get to know Dataroots!
Published: 2022-06-22 02:00:27

---
title: 🍔 Burgers & Drinks - Get to know Dataroots!
published: true
date: 2022-06-21 18:20:14 UTC
tags: 
canonical_url: https://dataroots.io/research/contributions/burgers-drinks-get-to-know-dataroots
---

 **What:** Get to know our dataroots team!   
**Where:** Tiensevest 132, Leuven   
**Who:** Everyone with a passion for data & AI

## About this event

🤖You have a passion for data and AI? You also like a good burger as a study break or after finishing your exams?

🎯 We have the perfect event for you!

🍔 On **Tuesday June 28th** we’ll be organising **a walking dinner at dataroots**!

👍 The aim of this dinner is to give you an idea of what we do at dataroots and to meet some of our team members.

❗️Spots are limited, [so make sure to **register**](https://www.eventbrite.nl/e/burgers-drinks-get-to-know-dataroots-tickets-367530853677) **.**

![](https://dataroots.ghost.io/content/images/2022/06/Burgers-and-drinks---get-to-know-dataroots--1--1-.png)
Day 24 - Multiple Inheritance
Tags: 100daysofcode, solidity, web3, blockchain
Published: 2022-06-21 18:12:00

{% embed https://github.com/Envoy-VC/30-Days-of-Solidity noreadme %}

This is Day `24` of `30` in Solidity Series
Today I Learned About Multiple Inheritance in Solidity.

##  Multiple Inheritance

In Multiple Inheritance, a single contract can be inherited from many contracts. A parent contract can have more than one child while a child contract can have more than one parent.

**Example**: In the below example, contract A is inherited by contract B, contract C is inheriting contract A, and contract B, thus demonstrating Multiple Inheritance.

```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

// Defining contract A
contract A {
    string internal x;

    function setA() external {
        x = "Multiple Inheritance";
    }
}

// Defining contract B
contract B {
    uint256 internal pow;

    function setB() external {
        uint256 a = 2;
        uint256 b = 20;
        pow = a**b;
    }
}

// Defining child contract C
// inheriting parent contract
// A and B
contract C is A, B {
    // Defining external function
    // to return state variable x
    function getStr() external returns (string memory) {
        return x;
    }

    // Defining external function
    // to return state variable pow
    function getPow() external returns (uint256) {
        return pow;
    }
}

// Defining calling contract
contract caller {
    // Creating object of contract C
    C contractC = new C();

    // Defining public function to
    // return values from functions
    // getStr and getPow
    function testInheritance() public returns (string memory, uint256) {
        contractC.setA();
        contractC.setB();
        return (contractC.getStr(), contractC.getPow());
    }
}
```

Output: 

when we call the testInheritance function, the output is ("Multiple Inheritance", 1024).

---
Journey into Web3[1]
Tags: webdev, web3, web2
Published: 2022-06-21 18:09:08

## Summary of what Web 1.0 to Web 3.0 does


Web 1.0 was the first generation of the world wide web, also referred to as the read-only web.

This means that users were only allowed to seek and read information on the web. 

As humans we evolved to Web 2.0

** Now what did Web 2.0 bring **

Web 2.0 also known as the participative web allows users to be part of the internet and interact with it by allowing the transfer of data (sharing and receiving information), even buying and selling among users. Which gave rise to platforms like dev.to, Facebook, Twitter, Amazon e.t.c


Then we upgraded to the bombshell 💣
(Web 3.0: The Decentralized Internet).

So... Have you ever searched or messaged someone about something like a shoe on the Internet then you suddenly start seeing sponsored advertisements about shoes 😅😂

That’s kind of creepy. Some people actually do like it because it saves them the stress of searching for stuff. On the other hand most people don’t because they feel it’s an infringement of their privacy and exploitation of their data.

This is where Centralization (Web 2.0) comes in.

What does centralization mean?

Centralization is the concentration of control of an activity or organization under a single authority.

So when signing into these Web 2.0 platforms, Our data is automatically Centralized. Which means the platform has access over your data. 
They can censor your post on their platform or access certain information about you or even sell your data to certain advertisers. 

So this was becoming a problem we had to solve. 

In 2014, The term Web 3.0 was coined by the Ethereum co-founder Gavin Wood for the new web based on Blockchain Technology(I’ll walkthrough this in my another doc) which incorporates concepts such as decentralization and token-based economics. 


The Decentralized Internet (Web 3.0) 

What is decentralization?

Decentralization is the transfer of control of an activity or organization to several local offices or authorities rather than one single one.

So the concept of Web 3.0 brings ownership. 
Meaning that your data isn’t controlled by a single authority, You and You alone own your data else you’ve been compromised by a malicious person which is nearly impossible unless you’ve given them access to certain information like your private key.

Web3 arguably fights against the influence of big tech companies on your data and providers extra privacy and data security as you surf the Internet. 

Web3 also gives rise to new developments like NFT (Non Fungible Tokens), DAO and the Metaverse.
Was that why Facebook changed its name 🤔 

Tokens can be known as a digital asset which represents a store of value. 

Meanwhile...
Jack Dorsey (Former CEO and cofounder of twitter) and friends are currently building Web 5.0 🤯 .
Isn’t that fascinating 
But why was 4 skipped 🤔
Oh Well! We’d get to know more about that later. 


Thanks for reading all the way here 🙏 
That’s just a summary of what I’ve gathered about the web upgrades. 
Please make sure to leave a like if you do. 😇
Ciao
Hello!
Tags: others
Published: 2022-06-21 18:05:08

สไตล์การเขียนก็อาจจะไม่ค่อยได้เรียบเรียงให้สวยงามนะครับ เพราะยอมรับว่าการเขียนและการอธิบายไม่ใช่ของถนัดผมเลย blog ก็เลยจะออกแนวเล่าไปเรื่อย ๆ ที่อาจจะไม่ค่อยมีความเชื่อมโยง คำพูดก็ไม่ได้กลั่นกรอง ซึ่งถ้าตรงไหนผมพูดไม่ clear หรือพูดผิด สามารถทิ้ง comment ไว้ได้ ถ้าอันไหนต้องเล่ากันยาว ๆ จะเปิด post ใหม่ครับ

tag ที่จะใช้ หลัก ๆ น่าจะมี
- `coding` เป็นเรื่องเกี่ยวกับ programming
- `cto` เป็นเรื่องเกี่ยวกับการตัดสินใจเลือก tool หรือ platform คือมองภาพรวมขึ้นมานิดนึง
- `ops` เป็นเรื่องเกี่ยวกับ operation เช่น การ deploy การ manage เครื่อง
- `TIL` ย่อมาจาก Today I learned.. เป็นเรื่องใหม่ที่ผมเพิ่งได้รู้ (เนื้อหาจะดิบมาก เพราะเจอปุ๊บเขียนเลย)
- `tips` เกร็ดเล็กเกร็ดน้อย บางทีจู่ ๆ นึกได้ก็เอามา post
- `drama` จริง ๆ คือ unpopular opinions แต่มันยาว เลยใช้ว่า drama เพราะมีความเสี่ยงจะเกิด drama มากกว่า tag อื่น ๆ เป็นความเห็นที่คนส่วนใหญ่อาจไม่เห็นด้วย และอาจไปกระทบบางคน ไม่อยากต้องบอกว่าเป็นความเห็นส่วนตัว เพราะ blog มันก็ความเห็นส่วนตัวอยู่แล้ว
- `others` นอกเรื่อง ไม่เกี่ยวกับเรื่องข้างบน บางทีเจออะไรน่าสนใจไม่เกี่ยวกับการเขียน code ก็อาจจะใส่ไว้ใต้ tag นี้

code ตัวอย่าง จะเป็น kotlin ซะเยอะ เพราะคนอื่นน่าจะอ่านง่ายที่สุด แม้จะไม่ได้เขียน kotlin ก็ตาม
Creating Your Own Custom StreamElements Widgets
Tags: webdev, javascript, tutorial
Published: 2022-06-21 17:58:03

{% embed https://youtu.be/4SxpNWEqGSQ %}
This is a video walk-through explaining how you can create your very own Custom Stream Element Widgets. 

Links:
https://streamelements.com
https://github.com/StreamElements/widgets
https://github.com/StreamElements/widgets/blob/master/CustomCode.md
https://github.com/StreamElements/widgets/tree/master/CustomChat
Top 7 Featured DEV Posts from the Past Week
Tags: top7
Published: 2022-06-21 17:51:36

---
title: Top 7 Featured DEV Posts from the Past Week
published: true
description: A round up of the most-read and most-loved contributions from the community this past week
tags: icymi 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sfwcvweirpf2qka2lg2b.png
---

_Every Tuesday we round up the previous week's top posts based on traffic, engagement, and a hint of editorial curation. The typical week starts on Monday and ends on Sunday, but don't worry, we take into account posts that are published later in the week._ 

## Attacke! Your Expectations

This is how @iamschulz built Attacke!, a simple 2D fighting game in JavaScript.

{% embed https://dev.to/iamschulz/writing-a-game-in-typescript-13em %}


## Goodbye IE

@alvaromontoro has been publishing a webcomic for four months: a comic about CSS (and web development) without images, all coded in CSS and HTML. 

{% embed https://dev.to/alvaromontoro/the-death-of-ie-webcomic-1oia %}


## A companion guide to JS hoisting

A handy breakdown of hoisting in JavaScript, with a focus on variables and functions. 

{% embed https://dev.to/srishtikprasad/hoisting-in-javascriptvariables-function-1j4h %}


## Go Anatomy 101

@vigneshm243 recently started learning Go! Here, we’ll try to break down a simple Go program that prints a line to understand the anatomy of a Go program.

{% embed https://dev.to/vigneshm243/anatomy-of-a-go-program-18m6 %}


## Frameworks are Overrated

This blog is about yet another javascript framework but with a twist, you don't have to make those .js files to use it, it integrates right with your HTML! ;)

{% embed https://dev.to/asheeshh/use-the-power-of-a-javascript-framework-right-in-your-html-file-1d88 %}


## You don’t need a JS Library for your Components

Have you ever asked yourself how many times you wrote a Button component using different libraries or frameworks? To solve this problem, Web Components can simplify this process since they work natively with the Browsers and can also be integrated into any JS Framework/Library.

{% embed https://dev.to/helmuthdu/you-dont-need-a-javascript-library-for-your-components-35bk %}


## CSS Isn’t Magic: Positioning

@melnik909 talks about the position property! We'll consider many cases that often confuse developers. 

{% embed https://dev.to/melnik909/css-isnt-magic-all-tips-about-the-position-property-to-avoid-common-mistakes-398m %}


_That's it for our weekly Top 7 for this Tuesday! Keep an eye on dev.to this week for daily content and discussions...and be sure to keep an eye on this series in the future. You might just be in it!_
Free CDN for Images.
Tags: cloudflare, webdev, beginners, tutorial
Published: 2022-06-21 17:18:33

Who wouldn't like a free CDN for their website images. Well here's how you can get it.

Just take your website image URL for example - https://abc.com/mycat.png

Now before the URL use the CDN URL "cdn.statically.io/img/", like - https://cdn.statically.io/img/abc.com/mycat.png

Your image will be now served through Statically.io CDN.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/18ts5tczy7rls3t8b7xf.JPG)

**Limitations -** Currently no Limitations on Bandwidth or anything else, use it as much as you want.

**Cache Duration -** The images are cached for a period of 1 year.

**Image Format Supported -** Almost all common image formats like png, jpeg, svg, jpg.

Follow for more Interesting Posts 🥴
WordPress: Improve Security & Performance of Plugins
Tags: wordpress, digitalmarketing, webdev, beginners
Published: 2022-06-21 17:15:40

WordPress suggestion takes goal at improving the safety and performance of 1/3-celebration plugins

WordPress introduced a proposal to take a more proactive technique in the direction of 0.33-party plugins to improve security and placement overall performance.

A plugin checker is being discussed in an effort to make certain that plugins are following first-rate practices.

## Plugin Checker
WordPress already produces a topic checker that lets in topic developers to check their paintings for exceptional practices and safety. The identical theme checker is used at the professional WordPress subject repository, too.

## Contact [whatsapp](https://wa.me/+919033863013)

So now they need to explore doing the equal thing for plugins.
The concept lists 3 viable approaches:

**A. Static analysis**
This is how topics are checked however there are limitations, inclusive of now not being capable of run the code.

**B. Server-facet evaluation**
This technique lets in the plugin code to run plus a static evaluation can also be accomplished.

**C. Client-aspect evaluation**
This hundreds a headless browser (essentially a bot that emulates a browser) after which assessments the plugin for problems that could’t necessarily be detected with a server-aspect answer. The report notes some demanding situations to this technique however also lists methods round them.

## Best Practices for Plugins
The WordPress performance crew is not devoted to growing a plugin checker, this is just a proposal. This is simply the start line.

The WordPress overall performance group isn't committed to developing a plugin checker, that is simply a proposal. This is simply the starting point.

## [I will shopify, squarespace, wordpress, ecommerce website designer](https://www.fiverr.com/share/Vk7aQZ)
Mi primer blog
Tags: webdev, spanish, programming, beginners
Published: 2022-06-21 16:46:00

En este primer post quiero dar a conocer un poco de mí en cuanto al ámbito profesional, contando que hago, donde trabajo, en que tecnologías tengo experiencia y cuales estoy estudiando actualmente. Y por último, explicar las razones por las cuales decidí realizar este blog y en que dirección lo quiero enfocar.


**Presentación**

Me presento, mi nombre es Steven Lozano Astudillo, soy desarrollador junior en Salud Electrónica. Estudié hace aproximadamente 5 años una tecnología en análisis y desarrollo de sistemas de información en una institución pública de Colombia llamada SENA, donde me gradué, pero tuve dificultades para encontrar mi primer empleo como desarrollador, me pasé prácticamente 4 años intentándolo, hasta que apliqué a una oferta publicada por mi actual empresa y comencé por fin a trabajar como desarrollador desde hace 1 año. Para la historia de cómo encontré mi primer empleo, voy a realizar un post solo para eso.
Durante este año he trabajado tanto frontend con angular, como backend con nodejs. También llevo buen tiempo estudiando y practicando react por mi parte.


**Motivaciones**

Lo que me llevó a comenzar este blog no fue una sino varias razones:

- La principal razón es enseñar para aprender. Desde hace mucho tengo claro que la mejor forma de aprender es enseñando ya que debes entender muy bien el tema para poder transmitirlo y que las personas te entiendan. Con esto consigo dos cosas importantes: aprender mejor y compartir mi conocimiento.
- Mejorar mi capacidad de escribir es otro motivo importante. Como bien sabemos en este mundo digital, escribir se vuelve una skill necesaria. Probablemente en este primer post tengo mil errores, pero por eso lo hago, para aprender y mejorar día a día.
- Mi aprendizaje en nextjs. Actualmente estoy haciendo mi web personal y no quería simplemente poner mi información y ya, sino ir más allá e integrar un blog. Esto lo veo como un ejercicio interesante, que me va a permitir mejorar mis skills con la tecnología.


**Dirección**

Inicialmente la dirección que voy a darle al blog, va a ser el compartir lo que sé y lo que iré aprendiendo en el camino, relacionado al desarrollo de software y todo lo que deriva de este. Tal vez en un futuro considere agregar posts relacionados a videojuegos, pero es algo que a corto plazo no pienso hacer.

Eso es todo lo que quería abarcar en este blog, el siguiente posiblemente sea el [cómo encontré mi primer empleo como desarrollador](https://dev.to/stevenlz/mi-primer-empleo-como-desarrollador-1kk1) y todo el recorrido desde que comencé a estudiar.

Muchas gracias por leer este post. Hasta una próxima ocasión.
![Heart coffe gif](https://media.giphy.com/media/Y4i5VX3WsSRtm/giphy.gif)
29 Seconds App | Made with Nuxt JS
Published: 2022-06-21 16:40:32

![29 Seconds App | Made with Javascript | Nuxt JS](https://res.cloudinary.com/madewithjavascript/image/upload/v1655593550/large_29_seconds_app_made_with_nuxt_js_6fd0355a6a.png "29 Seconds App | Made with Javascript | Nuxt JS")


### Be accountable to yourself. Using 29 second daily guided audio reviews.

> Keep yourself on track by recording short guided audio reviews of your day.
> 
> At the end of the week, recap those audios and create your weekly review.

## Check out more such amazing projects on our website

[Made with Javascript](https://madewithjavascript.club)

## Want us to feature your project

[Submit your Project to Made with Javascript](https://madewithjavascript.club/submit-project)


You can also write to us for any of your queries at:

[Email Made with Javascript](mailto:madewithjavascript@gmail.com)

## Project already shared on our social media handles.

| SocialMedia | SharedLink |
| ----------- | ---------- |
| Twitter | [29 Seconds App on Twitter](https://twitter.com/withjavascript/status/1539285622069895170?s=20&t=w6BjwPBFLJTbIRoeP92D2w)
 |
| Medium | [29 Seconds App on Medium](https://medium.com/@madewithjavascript/29-seconds-app-made-with-nuxt-js-97e198da73b1)
 |
| Facebook | [29 Seconds App on Facebook](https://www.facebook.com/madewithjavascript/posts/pfbid0aWua6muPThFq2K9bsubh3F6oPqUKCsvXcYbnPfaTnTA4YKv4dbmgEZXBwQbY14UYl)
 |
| Tumblr | [29 Seconds App on Tumblr](https://www.tumblr.com/blog/view/madewithjavascript/687687053411057664?source=share)
 |
| LinkedIn | [29 Seconds App on LinkedIn](https://www.linkedin.com/feed/update/urn:li:activity:6945051496266829824)
 |
| Pinterest | [29 Seconds App on Pinterest](https://pin.it/1RCLY9g)
 |


Filled Under:

 - [Made with Javascript](https://madewithjavascript.club)
 - [Made with Nuxt JS](https://madewithjavascript.club/categories/nuxt-js)

Make sure to give this post ❤ 50 ❤ hearts, click the 🦄 unicorns 🦄 and follow 👉 @madewithjavascript 👈 for more such awesome showcases. Show you love for the people who have worked so hard!