teleren/devto huggingface dataset:
Trust with DevTools Broken
Tags: css, developers, beginners, mobile
Published: 2023-09-29 17:58:35

Making use of the Chrome Dev Tools habit has been a more recent practice of mine. I've used it to inspect other people's code or disable JavaScript to get around some subscription-gated sites, sure, but to do due diligence with my own code?

After mixed results with optimizing my portfolio site for mobile, I've been more conscious of [simulating mobile devices with Device Mode](https://developer.chrome.com/docs/devtools/device-mode/).

And with my latest [journaling app](https://tubular-faloodeh-6243c9.netlify.app/), I stopped to preview it _all_ every step of the way-- Android and iOS to boot! 


![false positive of the site layout](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e2k4rlq709d8hgyeoe6c.png)

When I finally deployed it on Netlify, I shared the link to my friend and mentor who gave me props. But the screencap he shared looked weird.


![reality of the site layout](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dnz4rmh84v17c1ssk3w9.jpg)

I was crushed to see it looked just as jumbled when I pulled up the site on my own phone. It felt especially demoralized when I put more effort than ever to have responsiveness in mind.

Dev Tools, you lied to me!

![Dev Tools lied](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cda88qq3xknzal4e9dxs.png)

> How can mirrors be real if our eyes aren't real. - Jaden Smith

Never thought that quote would hit as hard as it did now. 

How are you supposed to check the site layout if you can't trust the preview? And to that, I still don't have an answer. Said friend thought it might've been a rem - px issue, but adjusting that math didn't seem to make a difference.

Device Mode preview will remain a mystery, but luckily the actual fix for my site layout wasn't too bad. 

Those elements that are all jumbled at the top were created at a later stage as I was designing things. And, instead of respecting the HTML top to bottom order (I thought only JavaScript cared about that?), I left those elements near the bottom of the HTML. I had things positioned okay through CSS, but `position: fixed` and `position: absolute` were conflicting with other styles. It was much easier to let things fall in line with flexbox and adjust from there.

For those of you who felt Dev Tools betrayal, how long did it take you to regain trust? 🥺 👉👈
DnD 5e Character Creator
Tags: python, terminal, firstpost
Published: 2023-09-29 17:47:08

This is my first functionally complete program I've ever written! Although there are a lot more functions and a lot more content I'd like to add in later versions, this version is completely usable.

The bulk of the code is in three sections: race selection, class selection, and stat generation. The stat generator creates random numbers which the user then assigns to attributes as they choose. The race and class selections each have unique code blocks, most of which prompt the user for further choices. Additionally, the program records a dictionary of all character features (and their descriptions), a list of proficiencies and languages, and a collection of stats that are dependent on the 6 basic generated attributes (armor class, initiative, etc.)

At the end, the program generates a readable character sheet containing all of the information selected, recorded, and generated above.

[Try it out for yourself if you like](https://github.com/scaryaoke/dnd5e-character-creator/releases/tag/v1.0.0).

I'd like to clean up the code a little bit, create more functions to shorten the repetitive code segments. Then I want to add in the rest of the races and classes available in the Player's Handbook, as well as subclasses and equipment. I'd also like to include data for spellcasters - spell save DC, spell attack modifiers, spell lists, spell slots, cantrips, etc. Eventually if I want to keep working on the project, I'd like to add in classes and races available in supplementary materials, and allow the user to save their character sheet in a text file and later update the sheet when they level up.
Katlanabilir Solar Panel Sistemleri
Tags: renewable, photovoltaics
Published: 2023-09-29 17:43:42

Kibrit Creative Solutions tasarım ofisininin geliştirdiği  Katlanabilir Güneş Panel Sistemleri Türkiyede ve dünyada bir ilki geliştirerek "Hali hazırda var olan pergola sistemleri olarak bilinen Tente sistemlerinin aksine 150m2 alanın içerisinde 29KW elektrik üretebilen ürün geliştirmiştir.

Şehirlerin merkezlerinde gölgeleme çözümleri olarak bilinen Pergola sistemleri modern görümlere sahip olsada, işletmenin bütçesine herhangi bir katsı olmamaktadır. Bununla birlikte piyasada var olan güneş panelleri de katlanma özelliği bulunmamakta ve şehir merkezlerinde estetik bir görüntüye sahip değildirler.

**[Katlanabilir Güneş Paneli Sistemleri](https://www.kibrit.com.tr/tr/gunes-enerjisi-katlanabilir-solar-panel/)** her iki farklı teknoloji birleştirerek hem çevreci ve yeşil enerji üretmekle birlikte, Modern görünümü ile kafeteryalarda bireylere Gölgeleme imkanıda sunmaktadır.

**Geleneksel Pergola Sistemlerinin Aksine!**

Piyasada yer alan Gelenksel pergola sistemlerinin hiç birinde elektrik enerjisi üretme özelliği olmadığını bilmekteyiz. Hücrelerin özel dizilimi ile geliştirmiş olduğumuz Paneller ise Katlanma yetkinliği ile hem Yeşil Enerji üretek İşletmenin Enerji sarfiyatını minimize ederek Modern görünümü ile pergola sistemlerindeki estetik oramı müşterilerinize sunmaktadır.


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

**Tasarım, Mimari ve Teknoloji bir arada**

Pergola olarak bilinen üst kapama çözümleri ve Çevreci çözümler üreten Güneş Panellerini bir araya getirerek Şehir içlerindeki atıl mekanları maksimum değer kazandırıyoruz.

**Amaç :**

Sürdürülebilir bir gelecek için, işletmelerin elektrik giderlerini sahip oldukları alanlardan üretim yapmalarına olanak sunarak, işletme giderlerini düşürmektir.


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

**[Yenilenebilir Enerji Sistemi](https://www.kibrit.com.tr/tr/gunes-enerjisi-katlanabilir-solar-panel/)** Güneş Enerjisinden Elektrik
The WebXGuild Chronicles - #03C02: Mock Server Marry with NextJS
Tags: webdev, devjournal, opensource, github
Published: 2023-09-29 17:32:00

> This story is based on the commit history in the GitHub Repository of our Open Source project at WebXGuild.

In the realm of digital creation, where lines of code wove the tapestry of possibility, a tale of collaboration and innovation unfolded.

It all began on a bright and promising day, a mere nine weeks ago, when Maxime Kubik, a visionary of the code, orchestrated the addition of Gitpod into the fold. With a wave of his virtual wand, he merged the pull request, setting the stage for what was to come.

But the story did not end there, for three weeks prior, another chapter had begun. Vincent Villafuerte, with a flourish of creativity, introduced CODEOWNERS to the repository. It was a feat that added structure and ownership to the digital domain.

And before that, amidst the mists of time, Amit Kumar Rout, in a moment of inspiration, decided to rename the project as "webx-guild." It was a simple yet significant change, a declaration of identity and purpose.

As the weeks passed, the narrative continued to evolve. Maxime Kubik, ever the captain of this digital ship, welcomed a new branch, a testament to the ever-expanding horizons of their endeavors.

But the heart of this tale, the beating core of innovation, lay in the hands of Imam Ali Mustofa. With a commitment to excellence, he introduced the [Miragejs](https://miragejs.com/) mock server, a creation that would breathe life into their code.

And so, the story unfolded, commit by commit, pull request by pull request. Each line of code was a brushstroke on the canvas of their shared vision, a testament to the power of collaboration and the beauty of creation. In this world of code, where ones and zeros danced to the rhythm of imagination, a masterpiece was in the making.

> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). If the language I use seems odd, assume I'm digressing and trying to say something. Why should there be this disclaimer? Because I always considered ChatGPT!!!
Homecare services Katy | nursing homes Katy, Texas - A Hug Away Healthcare
Published: 2023-09-29 17:28:36

At A Hug Away Healthcare - nursing home in Katy, Texas, our goal is to help you or your loved ones return to normal everyday life. We are a reputed retirement home in Katy, TX, helps our patients stay in their homes longer and we go above and beyond what insurance provides to help over 700 patients a year. Our skilled nurses not only offer traditional in-home care but also offer infusion treatment, wound care, and physical therapy in Katy, Texas. Our goal is to get everyday Americans back to independence when possible and be there for them when it is not. Give us a phone call (832-437-1983) and see how our healthcare is a hug away! http://www.ahugaway.com/
Difference Between Authorization and Authentication
Tags: webdev, javascript, beginners, programming
Published: 2023-09-29 17:24:36


**Introduction**
This clarifies the distinction between authorization and authentication and provides a general understanding of how they operate. We’ll discuss what they actually accomplish and how they use cloud computing in this piece.

**Authentication: What is it?**
Verifying a user’s identity on a system or application usually requires giving the system or application the necessary user data, such as their login, password, answers to security questions, and any order information required to access the application. Consider Facebook as an example. When you visit Facebook and enter your email address, password, and other necessary details, authentication will be requested. Facebook will go through the process of confirming your identity based on the information you supplied; if Facebook cannot identify you based on the information you gave, an error will be returned; otherwise, the authentication will be successful.

What authenticating does in practice
1) Authentication verifies that users are who they say they are, and

2) Requires users to verify credentials using passwords and facial recognition

3) Typically, sends an ID Token.

Authorization: What is it?
is the process of deciding what a user or device who has been authenticated may do or perform. By ensuring that users only have access to the data and features that are appropriate for their privileges or position, authorization helps enforce security by defining the permission and level you have as a user within a system or application.

Exactly what authorization does
1) Authorization establishes what users may and cannot do;

2) policies confirm whether users are permitted;

3) Typically sends data via an access token


**What Connects Authorization and Authentication?**
Since both terms have the same “auth” acronym, authorization and authentication are frequently confused since they represent two parts of the access process for a system or application. Another similarity between authorization and authentication is the way they both use identity.

Cloud computing authorization and authentication
In any system that uses cloud computing, security is crucial. Due to the shared access paradigm that these services offer, everything runs on the same system. To accomplish these security objectives, cloud service providers use permission and authentication. For instance, the system may ask a user to submit a username, password, and other details when they attempt to access a certain cloud service. The cloud platform will then perform authorisation to make sure the user can only access their systems and data when the user successfully authenticates.

**Authorization or Authentication: Which Comes First?**
In the security process, authorization usually comes before authentication. Verifying a user’s identity through authorization is a procedure that frequently involves the use of a username, password, or other elements. Based on their role
Swift and Reliable Transportation Solutions
Tags: transport, startup, logistics
Published: 2023-09-29 17:00:41

In today's fast-paced world, efficient logistics and transportation services are paramount. Businesses and individuals alike require swift solutions to move goods and get to their destinations without hassle. This is where MyFastX steps in, offering a range of services that redefine the transportation industry.

When it comes to swift and reliable transportation, MyFastX leads the way. With their state-of-the-art Fastx vehicles, they provide instant access to a vast network of transportation providers, ensuring that your goods reach their destination promptly and securely. Whether you need to hire a mini truck or rent a mini tempo, MyFastX has you covered.

One of the key advantages of choosing MyFastX is the versatility they offer. Need to move a small load across town? Consider a mini tempo for rent. Require a larger vehicle for a business delivery? Opt for a hired mini truck. With MyFastX, you have the flexibility to choose the vehicle that suits your specific needs, all at the click of a button.

Reliability is at the core of MyFastX's service. They understand the importance of trustworthy transportation, which is why they partner with only the most reputable and vetted transportation providers. This ensures that every journey with MyFastX is safe and dependable, providing peace of mind to both businesses and individuals.

Transparency is another cornerstone of MyFastX's approach. Real-time tracking, transparent pricing, and clear communication keep you in the loop about the status of your transportation at all times. You'll never be left wondering where your goods are or when your ride will arrive.

Using MyFastX couldn't be easier. Their user-friendly interface, accessible through both their app and website, makes booking and managing your transportation needs a breeze. Whether you're a business looking to streamline your logistics or an individual in need of a reliable ride, MyFastX has designed their platform with you in mind.

In a world where time is of the essence, MyFastX stands out as a game-changer in the transportation industry. Their commitment to speed, convenience, and reliability sets them apart from the competition. By choosing MyFastX, you're not just getting from point A to point B; you're experiencing a transportation solution that prioritizes your needs.

Experience the difference for yourself - visit MyFastX today. Whether you're in need of a hired mini truck, a mini tempo for rent, or any other transportation solution, MyFastX is ready to provide you with the swift and reliable service you deserve. Say goodbye to transportation woes and hello to a seamless journey with MyFastX.
Episode 23/38: TypeScript Origins, Reusable Forms, Bun in Angular, Svelte Runes
Tags: angular, webdev, programming, javascript
Published: 2023-09-29 16:49:00

TypeScript Origins on YouTube explores TypeScript's early days. Dmytro Mezhenskyi discusses reusable forms, and Brandon Roberts introduces Bun. Signals are gaining prominence in modern frontend frameworks, exemplified by Svelte's upcoming "Runes".

{% embed https://youtu.be/32Nljqr-lnY %}

## TypeScript Origins

TypeScript Origins, a documentary on the early days of TypeScript, is available on YouTube. It covers topics like TypeScript's approach to JavaScript and its relation to VSCode and Open Source at Microsoft.

TypeScript Origins lasts one and a half hours and is a collection of interviews with different people who played and are still playing a key role.

The connection to Angular is a very tight one. According to Igor Minar, the former lead of Angular, TypeScript got a big boost because Angular 2 enforced it.

Igor also stated that Angular's decision to go with TypeScript split the Angular community and many developers left for React.

{% embed https://youtu.be/U6s2pdxebSo %}

## Reusable Forms

Dmytro Mezhenskyi, aka. Decoded Frontend,  published a video on reusable forms or how we can distribute a huge form to multiple components.

Highlights were his explanation of the `@Host` decorator, the component's `viewProviders` property, and what impact they have once enabled.

These are features we usually use less often as application developers.

{% embed https://www.youtube.com/watch?v=o74WSoJxGPI %}

## Bun and Angular

Two weeks ago, Bun, an alternative to Node.js, was released. I mentioned that it has yet to be officially supported by Angular, but you can still try it out unofficially.

Brandon Roberts created a short video introducing Bun, showing its main features, and creating a small demo app with Analog. Analog is a meta-framework for Angular. 

{% embed https://www.youtube.com/watch?v=cMavMovEWTw %}

## Signals in Svelte

Signals are more than just a big topic in Angular. Other frameworks have already adopted them or plan to do that. One of those "upcomers", is Svelte.

In version 5, Svelte will introduce their Signals version, which they cool Runes.

It looks like Signals are becoming a standard for a modern frontend framework.


{% embed https://youtu.be/RVnxF3j3N8U?si=JRiwPVwtEgGPFlad %}
AI vs ML/DL
Tags: ai, machinelearning, deeplearning, datascience
Published: 2022-08-21 20:33:00

[Artificial Intelligence](bpbonline.com/collections/artificial-intelligence), [Machine Learning ](https://bpbonline.com/collections/machine-learning
), and [Deep Learning ](https://bpbonline.com/collections/deep-learning
) have always been confusing buzzwords, which are often used interchangeably. It is important to study various AI branches to study within. This will help us in choosing the right framework to solve a real-world problem. Deep Learning and ML are the subfields of AI.

Let us understand and differentiate these concepts under this topic.

**AI**: AI is a big picture and an umbrella term that develops machines which can accomplish a task that requires human intelligence. AI does not imply learning. AI falls into one of the three stages, which we have discussed in the preceding topics about AI concepts and types of AI based on their capabilities.

**Machine Learning**: This field is a subset of AI which deals with making the machines learn from past data without being explicitly programmed. But how machines can learn? It can learn just the way human learns. Humans can learn through communication, past experiences, analyzing the situation, or decision-making.

A machine can learn the same way with the help of data and algorithms. The algorithm finds out the hidden patterns in the data and helps us to make future predictions or infer knowledge from the data. With more and more data you give to the model, it further gets improved, leading to accuracy. ML automates repetitive learning. ML is broadly categorized into three types:
1. Supervised learning
2. Unsupervised learning
3. Reinforcement learning

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

**Deep Learning (DL)**: It is a subset of ML, which mimics like human brain/ neurons while processing the data such as object recognition, language translation, decision-making, and so on. Geoffrey Hinton, with his fellow researchers, has triggered the success of Deep Learning. Just like neurons are the basic unit of the nervous system in the human brain, DL uses neural network architecture to solve the given problem without human intervention. The input data passes through multiple layers and classifies the information. It requires a huge amount of data, unlike ML, for learning. It solves complex machine learning problems. An example is a self-driving car that uses Deep Learning to detect any obstacle that comes while driving a car.

Hope this was helpful.
Managing Networking
Tags: redhat, rhcsa, learning, tutorial
Published: 2023-09-29 16:17:13

**1. Describing Networking Concepts**

1.1 TCP/IP Network Model

- Application

Each application has specifications for communication so that clients and servers may communicate across platforms. Standard protocols include SSH (remote login), HTTPS (secure web), NFS or CIFS (file sharing), and SMTP (electronic mail delivery).

- Transport

TCP and UDP are the protocols for the transport layer. A list of well-known and registered ports can be found in the /etc/services file.

 - Internet

The Internet, or network layer, carries data from the source host to the destination host. The IPv4 and IPv6 protocols are Internet layer protocols. Each host has an IP address and a prefix used to determine network addresses. Routers are used to connect networks.

 - Link

The link, or media access, layer connects to physical media. The most common types of networks are wired Ethernet (802.3) and wireless WLAN (802.11). Each physical device has a hardware address (MAC) used to identify the destination of packets on the local network segment.

1.2 IPv4 Networking

 - IPv4 Addresses

* IPv4 is a 32-bit number. 
* Ranging in value from 0-255 and separated by dots. 
* The address has two parts **_network part_** and **_host part_**.
* All hosts on the same subnet, can talk to each other without a router.

Key points:

* **_netmask_**: indicates how many bits of the IPv4 address belong
to the subnet.
* **_network address_**: the lowest possible address on a subnet (host part is all zeros in binary). 
* **_broadcast address_**: The highest possible address on a subnet (host part is all ones in binary).

Examples:

01) The IP address is 192.168.1.107 and the netmask is 255.255.255.0. Calculate the Network address and broadcast address. 

![IPv4 addresses and netmasks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gcwytiwh70me9wc5syv0.png)

IP address:    192.168.1.107 = 11000000.10101000.00000001.01101011
Network prefix:255.255.255.0 = 11111111.11111111.11111111.00000000
Network addr  :192.168.1.0   = 11000000.10101000.00000001.00000000
Broadcast addr:192.168.1.255 = 11000000.10101000.00000001.11111111

02) A server should have the static IP address of 192.168.1.102/255.255.255.0. The default gateway is 192.168.1.1 and the DNS should be 192.168.1.1. Configure the server's network configuration

step 01:

$ nmcli  connection add con-name static type ethernet ifname enp0s3

step 02:

$ nmcli connection show

![network connection show](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yiz2quc0tq53l8fm4cf3.png)

step 03:

$ nmcli connection modify static ipv4.addresses "192.168.100.102/24" ipv4.gateway 192.168.100.1 ipv4.dns 192.168.100.1 ipv4.method static connection.autoconnect yes

step 04:

$  nmcli connection show static


![network connection show](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/azfu49khyf4zgj7yhj37.png)

step 05:

$ nmcli connection down enp0s3; nmcli connection up static


![connection drop and up](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2paxz8kod2rmugupqvgs.png)

step 06: 

$ reboot