teleren/devto huggingface dataset:
CSS geometric art: the Great Dodecahedron
Tags: css, 3d, trigonometry, dodecahedron
Published: 2023-03-20 11:16:24

---
title: CSS geometric art: the Great Dodecahedron
series: 3D solids in CSS
published: true
date: 2023-03-20 10:51:14 UTC
tags: css, 3d, trigonometry, dodecahedron
canonical_url:
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jhm7uot3qybdnbdilgfx.png
---

Riding on the wave of joy following the release of Chrome 111 - and so, finally decent support of trigonometric functions in CSS calcs across all major browsers - I coded another insane geometry in CSS - and gave it faux metallic shading, for good measure:

{% codepen https://codepen.io/MackFitz/pen/JjaBpVw %}

This is what is called the Great Dodecahedron. It's an expansion of the basic dodecahedron:

{% codepen https://codepen.io/MackFitz/pen/rNZZyPe %}

This basic dodecahedron has twelve five-sided faces. The Great Dodecahedron builds upon each of these faces an elevated starfish pattern - geometricallly resulting in a total of 180 faces (12 pentagons subdivided into 5 elevated triangular faces, which are then subdivided into 3 - ergo: 12\*5\*3 = 180).

This, however, not exactly true. I simplified the geometry a bit: on top of the twelve pentagonal faces I placed five obtuse triangles, suspended between the center of the pentagon and every second tip of the pentagon:

![An animation of five obtuse triangles being drawn from the center of the pentagon to one tip, then another two edges away, and back to the center, all creating a star pattern](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/84d7up12jjcjoumql6zi.gif)

The intersecting obtuse triangles created the ilusion that there are in fact ten triangles forming the star's arms (the red and yellow ones), and then the surface not covered by them also seemed like separate triangles (the blue ones).

![A star pattern on top of a pentagon, formed by five intersecting obtuse triangles anchored at the center of the pentagon and rotated iteratively](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wcu1o4rglpbx9jyq2g1x.png)

All I needed Then I needed to place each of these obtuse triangles slightly above the pentagonal face, and incline it so that the long edge touches the face - so that the star looks like it's elevated above the pentagon's surface, as if pulled up by the center.

There is some beautiful / fascinating / nightmarish geometry and logic behind it, but that's a story for another time.

For now, take a look at what an eldritch abomination I've created on the basis of the pentagon when I first I first heard the call of the Dodecahedron:

{% codepen https://codepen.io/MackFitz/pen/LYOXKxY %}
The deep CSSeas hide some hypnotic beauty, too:

{% codepen https://codepen.io/MackFitz/pen/vYRKppV %}

And there is much, much more than can be built upon the mighty dodecahedron. Oh, so much work - and so few tentacles...
STORE SALES ANALYSIS
Tags: datascience, data
Published: 2023-03-20 10:50:50


A client has requested some of this information be simplified and represented in a way they could interpret and utilize the data for use.

[Resource Table](https://firebasestorage.googleapis.com/v0/b/funnydigital-ng.appspot.com/o/DataAnalytics%2FSampleData.xlsx?alt=media&token=d9bc408b-297c-4ab6-8241-1140608f0f8f)
with the above resource, we should find solutions the following question 

1. What is Our Highest selling item?
2. what item or branch is predicted to bring more profit in 2023
3. what time of the year did we make more Sales?
4. Who is our Best sales representative?

---


###   <center>Our Predictive Analysis Report and Solution</center>  

From the Analysis, we find out that the highest-selling item in the past two years is **Binder** with a total sale of $19627.88



![Highest Item Sold](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5ysorfo0gqzg8mx6zuf7.png)

Now that we know the Item that sold more in the past two years, we need to find the region where this sale was made in order to predict the next year's sales profitable region and item.

By using the total sale against each region we are able to know this information. 


![region of sales](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/87njdc9rnutai37g4ghq.png)

The table above will help us to visualize the solution 
below



![period of sale ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b2slrmvg0sjmqn1tasqc.png)



The **CENTRAL** Regional branch makes more profit; from the Bar chart we can tell this . 

The client Also asked that we provide what period of the year they made more sales

after carrying out our analysis to find the total sum of items sold in each quarter of the year we represent it in the table below 

![quaterly sales ](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/e9fjdya7wsxlgk1l2q7m.png)

The most profits where made in the fourth Quarter of the year.
7 Ways ChatGPT Can Help Developers
Tags: programming, webdev, chatgpt, openai
Published: 2023-03-20 10:34:59

ChatGPT is a long-form question-answering AI from OpenAI that responds to complicated questions. It's an exciting new technology that is being taught to understand and respond to questions posed by people IRL.

Technically speaking, ChatGPT falls within the category of generative AI. Once trained, a generative AI model can generate results similar to the training data but not precisely the same.

How ChatGPT benefits developers

**1) Generating codes**

In terms of code generation, ChatGPT is a potent tool for developers. ChatGPT can comprehend and interpret developer needs using its natural language processing skills and provide corresponding code snippets. When it comes to repeated tasks or boilerplate code, this may save programmers a lot of time.

**2) Generating documents**

Thanks to ChatGPT's natural language processing skills, it can accurately generate documents identifying the requirements. Developers, who frequently have to spend a lot of time developing comprehensive documentation for their code, might benefit significantly from this in terms of time savings.

**3) Writing test cases**

ChatGPT can help developers to write test cases in a variety of ways. One way is by recognizing the test case's purpose and creating test inputs and expected outcomes. For example, suppose a developer asks ChatGPT to write a test case that can handle invalid input. In that case, ChatGPT may generate invalid inputs, such as special characters, empty strings, and out-of-range values.

Wanna know more about ChatGPT? [Go check the full article HERE!](https://cult.honeypot.io/reads/how-can-chatgpt-help-developers?utm_source=devto&utm_medium=devto&utm_campaign=utm_tracking)

Do want to become an AI engineer? [Sign up HERE!](https://app.honeypot.io/users/sign_up?utm_source=newsletter&utm_medium=email&utm_campaign=newsletter_44&utm_content=reads&utm_term=button/&mc_cid=b6ff68c20f&mc_eid=UNIQID)
Concepts and Use Cases of Stack and Queue
Tags: beginners, programming, backend
Published: 2023-03-20 04:42:05

##**1. Concepts and Use Cases of Stack and Queue**
##**2. Tips When Encountering a Queue in Technical Documents**
##**3. Troubleshooting Errors Related to Stack and Queue**

**Abstract Data Type (ADT)**
- Defines only what operations should be performed without specifying how they should be implemented
- Does not cover implementation details

**Data structure (DS)**
- A concrete implementation of the ADT
- Implements the operations defined in the ADT

##Stack and Queue from the perspective of ADT

Stack: A structure that stores data in Last In First Out (LIFO) order

- push: Adds an item to the stack
- pop: Removes an item from the stack
- peek: Retrieves the value of the topmost item in the stack

Since the item that is inserted first is placed at the bottom of the stack, the item that is inserted last is the first to be removed.

Queue: A structure that stores data in First In First Out (FIFO) order

- enqueue: Adds an item to the queue
- dequeue: Removes an item from the queue
- peek: Retrieves the value of the frontmost item in the queue

The item that is inserted first is the first to be removed.

**Use Cases for Stack: Stack Memory and Stack Frame**
```
python
Copy code
def a():
		b()
def b():
		c()
def c():
		print("wow")
```
When a() is called, a stack for a() is created in the stack memory. Since b() is called inside a(), a stack for b() is also created. Similarly, when b() is called, a stack for c() is created. After the "wow" is printed, c() is removed from the stack, followed by b(), and finally a().

**Use Cases for Queue: Producer/Consumer Architecture**

The producer creates and the consumer consumes.

##Tips When Encountering a Queue in Technical Documents

FIFO is not always implied: In a priority queue, items with higher priority are removed first.

##Stack/Queue Related Errors and Troubleshooting Methods

**StackOverflowError** 
An error that occurs when the stack memory is exhausted. This error occurs when a recursive function cannot exit.

Recursive Function: Calling a function within itself.
```
python
Copy code
def recur_fibo(n):
	if n<=1:
		return n
	else:
		return(Recur_fino(n-1)+recur_fibo(n-2))
```

**OutOfMemoryError**
 An error that occurs when the Java heap memory is exhausted. This error occurs when the queue is constantly being filled with data.

Heap: The area where objects reside.

The queue size should be fixed. What if the queue is full?

- Throw an exception
- Return a special value (null or false)
- Block the thread indefinitely until success
- Block the thread for a limited amount of time and then give up

**LinkedBlockingQueue**

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


**This posting is just a study note which was written after watching youtube videos in Korean.**
[Youtube](https://youtu.be/-2YpvLCT5F8)
🎲 Boardie Journal #01 - My new side project
Published: 2023-03-20 10:08:44

*This is a new series of articles in which I will share my thoughts, my accomplishments, my mistakes and my fears. Welcome to the logbook of the Boardie app.*

## ❤️ Let’s mix two passions

I like board games, I have many of them and I like spend time playing with friends. I've been thinking about developing an application related to board games for a while now. 🎯 The technical objective behind this project is to learn new things, to try to improve myself in UI/UX and to develop a project from beginning to end. I like code and I like games, let’s have fun !

## 🎲 Features

Basically the app won’t be revolutionary, I will develop simple features like

- Manage collections of game (wishlists, owned games, played games)
- Give a rating on a game
- Suggest games related to ratings, mechanics & themes of games (will be a huge part)
- Create parties with friends & games, history of parties …

## 🧑‍💻 Tech

Let’s take importants choices.

📱 The mobile part won’t surprise anyone, I picked **Flutter** for fast and cross-platform development.

📚 I hesitated for a long time for the database between a graph base and a classic relational base, I think a graph base could be really nice, because I need to make relations between games and games, users and users, games and users… A graph should be perfect in this case !

But I picked a classic relational database: **Postgres,** because of the backend !

💻 Indeed, I decided to learn a new backend : **Serverpod.** It’s a Flutter-thought backend written in Dart, allowing to share a part of the logic between front & back. 

➡️ https://serverpod.dev/

Serverpod comes with a lot of features (authentication, cache, messaging …) and it uses Postgres database. 

🚀 For this project, I want to discover the power of Serverpod !

✏️ I will write a lot of articles about Serverpod because I want to share everything I learned !

👀 Watch the next issues to be kept informed of the progress of the project, and to learn more about Flutter and Serverpod !
What are the coolest open source projects that you’ve seen in the last couple of weeks that use AI?
Tags: discuss, ai, watercooler
Published: 2023-03-20 10:06:00

---
title: What are the coolest open source projects that you’ve seen in the last couple of weeks that use AI? 
published: true
description: 
tags: discuss, AI, watercooler
# Use a ratio of 100:42 for best results.
published_at: 2023-03-20 10:06 +0000
---
With the release of GPT-4, there have been some incredible projects created or amplified. 

**Which have you found most interesting?**
Imagine you're hiring a ceramics worker to lay tiles...
Tags: it, career
Published: 2023-03-20 10:03:13

Imagine you're hiring a ceramics worker to lay tiles in your bathroom. Would you only hire someone who can lay red tiles or someone who can lay tiles of different colors and patterns? Similarly, in the IT industry, it's crucial to look beyond tool-specific skills and seek out candidates who possess versatility, adaptability, and problem-solving abilities.

I've seen many job postings in the IT industry that require specific tool-specific skills. While it's important to have proficiency in certain tools or technologies, hiring solely based on that criterion may limit your pool of candidates and overlook other important qualities that can contribute to the success of your team.

When hiring for a specific tool or technology, you may miss out on potential candidates who have a diverse skill set that can be applied to different situations. A candidate who is proficient in one tool may struggle to adapt when faced with a new tool or technology, whereas a candidate who has a broader understanding of IT concepts and principles can quickly learn and adapt to new tools.


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

Source: [LinkedIn](https://www.linkedin.com/feed/update/urn:li:activity:7043202264538230784/)
Debunking Myths about Developer Relations
Tags: devrel, marketing, advocacy, programming
Published: 2023-03-20 09:58:32

Contrary to popular belief, developer relations is not just about hosting hackathons and swag giveaways. 

It's a strategic effort to engage and build relationships with developers to foster a strong customer base.

Successful developer relations require a mix of technical knowledge, relationship building, and empathy for the developer community.

So, the next time you hear someone say developer relations is just about freebies, let them know it’s much more than that. 

Also, comment down your myths around developer relations.
Release of Devart .NET Connectivity Solutions: Entity Framework Core 7 Support
Tags: dotconnect, devart, efcore
Published: 2023-03-20 09:57:19

Devart, a recognized vendor of world-class data connectivity solutions for various data connection technologies and frameworks, provided new versions of [.NET Connectivity Solutions](https://www.devart.com/dotconnect/?utm_source=devto &utm_medium=referral&utm_campaign=pr_efcore7_20.03.2023). The main feature is Entity Framework Core 7 support. Table per Concrete type (TPC) inheritance is available in EF Core 7 version, whereas other EF Core 7 features will be developed and implemented soon.

The other significant improvements: 
- EF Core 7 support is implemented in dotConnect for Oracle, dotConnect for MySQL, dotConnect for PostgreSQL, and dotConnect for SQLite.
- dotConnect for SQLite has implemented in-built encryption support for Professional Edition alongside with NEW Express Edition. 
- Visual Studio 2022 version 17.5 Preview is supported.
- Salesforce Web Services API of 56.0 version is supported in dotConnect for Salesforce.

To learn more about the recent release and download new products, visit: 
https://blog.devart.com/entity-framework-core-compatibility-in-devart-net-connectivity-solutions.html

dotConnect is an enhanced data connectivity solution built over ADO.NET architecture and a development framework with a number of innovative technologies. dotConnect includes high-performance data providers for the major databases and popular cloud applications and offers a complete solution for developing data-related applications and websites. dotConnect can be used in all areas of modern application development: web applications and services, windows forms applications, mobile and enterprise development.

About Devart 
 
Devart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration, and backup solutions. The company also implements Web and Mobile development projects. 
For additional information about Devart, visit https://www.devart.com/.
Host your own Snap Camera Server with Docker
Tags: docker, node, github
Published: 2023-03-20 09:51:08

Snap Camera was a popular application that allowed users to add Snapchat-like filters and lenses to their desktop camera. The app was initially launched in 2018 as a standalone application for Windows and macOS and was an instant hit among creators, gamers, and influencers.

![Snap Camera](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/piqefg05y5yiz03hoz6t.png)

On January 25, 2023, Snap Camera reached its end of life. This means that the application is no longer being updated or supported, and users can no longer download it from the Snap Camera website or app stores.

I am hosting a project on Github which replicates the original server and allows the application to continue to be used without any restrictions.

[Snap Camera Server on Github](https://github.com/ptrumpis/snap-camera-server)
Local development environment for the data.table R project
Tags: r, programming, devops, osdc
Published: 2023-03-20 09:50:11

---
title: Local development environment for the data.table R project
published: true
description: At one point it might become easy to set up development environment for R
tags: r, programming, devops, osdc
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-03-20 09:47 +0000
canonical_url: https://code-maven.com/local-development-environment-for-r-data-table
---

After the partial success with the [development environment for R-yaml](https://code-maven.com/development-environment-for-r-yaml) we tried another R package called [data.table](https://github.com/Rdatatable/data.table) as part of the [Open Source Development Course](https://osdc.code-maven.com/). Eventually we managed to run the tests of this too.


This one actually had a lot of details in the README, but some parts were still missing, or at least were assumed to be obvious, which was not the case for us.

## Clone the repo

```
git clone git@github.com:Rdatatable/data.table.git
cd data.table
```

## Start Docker container

```
docker run -it --name data-table --workdir /opt -v$(pwd):/opt r-base:4.2.3 bash
```

## Install external dependencies we'll need

```
apt-get update
apt-get install -y pandoc curl libcurl4-gnutls-dev texlive-latex-base texlive-fonts-extra texlive-latex-recommended texlive-fonts-recommended
```

## Install R packages

```
Rscript -e 'install.packages(c("knitr", "rmarkdown", "pandoc", "curl", "bit64", "bit", "xts", "nanotime", "zoo", "R.utils", "markdown"))'
```


## Run the build

```
R CMD build .
```

## Run check on the generated file

In the README they mention `data.table_1.11.5.tar.gz`, but probably due to a change in the version number, now we have `data.table_1.14.9.tar.gz`

We can run this

```
R CMD check data.table_1.14.9.tar.gz
```

But if the README is updated with this then it will be out of date soon. Instead there could be an explanation that one needs to look at the generated file.
Alternatively this command would pick up the current file, assuming there is only one of them.

```
R CMD check $(ls -1 data.table_*)
```


## Exit the Docker container

```
exit
```


## Restart the Docker container

```
docker container start -i data-table
```


## Remove Docker container

```
docker rm data-table
```
#TestCulture 🦅 Episode 29 – Ubiquitous Language
Tags: webdev, beginners, testing, agile
Published: 2023-03-20 09:35:05

The notion of ‘ubiquitous language’ means that a same language is found everywhere. It is presented in the description of ‘Domain Driven Design’.
It corresponds to the same language that is shared by all the actors in the same context at the level of:
1️⃣ business
2️⃣ technical
3️⃣ testing
The ubiquitous language enables unity and communication between the business and the technical side, which brings the technical side even closer to the business side.
Furthermore, when tests are consistent with the ubiquitous language, everyone can understand them and participate in involving everyone in the quality of the product.
A direct application of the ubiquitous language is BDD, which can be found in the description of User Stories (US)… 💭
Expressions such as the Gherkin language and the business actions and terms used in this example must be retrievable from the US, the tests, but also in the architecture and the code in order to facilitate:
👉🏼 the understanding the need
👉🏼 the recognition of the technical parts
👉🏼 the purpose of the test

📰 Learn more about [the concept of Ubiquitous Language.](https://www.agilitest.com/cards/ubiquitous-language)

A thread [on Twitter.](https://twitter.com/agilitest/status/1628787458094649346?s=20)
Where to find Quadcode experts and news
Published: 2023-03-20 09:18:59

Hi, this is Quadcode. We will no longer blog on Dev.to, but our experts will continue to share their knowledge about fintech, IT, HR, design, and management on other platforms. 

Check us out on other platforms:

- [Blog on Medium](https://medium.com/@quadcode).
- [Instagram page](https://www.instagram.com/quadcode_life/).
- [LinkedIn page](https://www.linkedin.com/company/quadcodecareer/). 
- [Facebook group](https://www.facebook.com/profile.php?id=100064956156082).

Stay tuned!