teleren/devto huggingface dataset:
Cookies
Published: 2023-08-08 03:49:30

We use cookies every day but I've never really understood what they do or how they work. The lesson "the cookies hash" was helpful in elucidating the basic concept of what cookies are and what they do.

Essentially, cookies are "a set of key-value pairs" that the server stores in the client. Simple! Then, the data are sent back to the server with a header "Cookie" every time the client makes another HTTP request. Thus, the server can keep track of things like client preferences or the identity of a logged-in user.

The cookies hash can be accessed using the same hash methods as a regular hash. However, the keys and values can only be stored as strings. Thus, any other data type must be encoded as a string and later decoded back into the data type it was originally. The best way to do this is through the use of JSON strings. For this process, we use the methods `JSON.parse(string)` and `JSON.generate(hash)`.
TIL #4
Published: 2023-08-08 03:41:25

Hello I am continuing the learn a lot of tricks and really cool methods in Ruby. Today I learned more about the advance gsub techniques which ruby has to offer. gsub is a technique in Ruby programming that takes all the occurrences of the first argument and replaces that with what is written the second argument in the original string. You can also use this method to remove everything except for digits, words, and whitespaces. You can also call on the count method to then count what is left over depending on what you removed and what is left within the original string. This has proven to be helpful when trying to count how many letters a string has when the original contained letters and numbers and we only want to consider the letters or the numbers within the String. 

Below is an example of code that removes everything except letters and then the count method is evoked to return a count of what has been left over in this case the letters.
 
pp"Number of letters in the string is: " +string.gsub(/[^a-z]/i, "").count(string).to_s
Top Artificial Intelligence Tools: Revolutionizing Industries with Smart Automation
Published: 2023-08-08 03:35:34

[Artificial Intelligence (AI) has swiftly transformed from a futuristic concept to an integral part of our everyday lives. From voice assistants on [](url)our smartphones to personalized recommendations on streaming platforms, AI is everywhere.](https://www.digitalshareek.com/2023/08/top-artificial-intelligence-tools.html)
Business Apps and CRMs - NO CODE
Tags: webdev, javascript, beginners, programming
Published: 2023-08-08 03:30:00

## Formaloo Free: Custom CRM - No Code

**Introduction:**

[Formaloo Free](https://www.aiforme.wiki/ai/tools/formaloo%20free) is a powerful platform that allows you to build custom CRMs, customer portals, forms, and various other business apps without the need for any coding. 

With a comprehensive set of building blocks, you can easily create relational databases and connect various elements to design your perfect application in minutes, not months!

## Key Features:

**Collect with Forms:**
Create beautiful and powerful online forms without coding to capture leads, set up workflows, collect payments, conduct surveys, and more.

**Organize Together:**
Effortlessly organize your workspace into teams, departments, clients, and projects. Manage access permissions for team members, enhancing real-time collaboration.

**Create Apps Powered by Your Data:**
Customize your business's data interface without relying on pre-made software. Easily design powerful custom interfaces tailored to your unique needs.

**3,000+ Integrations:**
Connect with your favorite apps and services, including Google, Facebook, Salesforce, Slack, Microsoft, Shopify, and more. Access your data programmatically using powerful SDKs, APIs, and webhooks.

## An All-in-One Solution for Workplace Productivity:

+663,635 Databases & Business Applications Created: [Formaloo Free](https://www.aiforme.wiki/ai/tools/formaloo%20free) is trusted by a large community of users to streamline their operations and enhance productivity.

4.8/5 ★ Average Rating: Hundreds of positive reviews on platforms like G2, Capterra, Trustpilot, and others highlight the platform's reliability and efficiency.

Average 19 Hours/Week Saved: Teams that switched to [Formaloo Free](https://www.aiforme.wiki/ai/tools/formaloo%20free) reported saving an average of 19 hours per week, maximizing efficiency and focus on core tasks.

## Conclusion:

[Formaloo Free](https://www.aiforme.wiki/ai/tools/formaloo%20free) is the ultimate solution for creating custom CRMs and business apps without the need for coding. 

With an extensive array of building blocks and integrations, you can easily design and manage your data collection, organisation, and data interfaces. 

Experience the power of [Formaloo Free](https://www.aiforme.wiki/ai/tools/formaloo%20free) and join the growing community of satisfied users who have transformed their workplace productivity. Create your perfect applications today with [Formaloo Free](https://www.aiforme.wiki/ai/tools/formaloo%20free).
Up Business Theme
Published: 2023-09-09 19:05:03

---
title: Up Business Theme
published: true
date: 2023-08-08 03:09:04 UTC
tags: 
canonical_url: https://themes.gohugo.io/themes/up-business-theme/
---

Hugo Up Business Theme Up Business is a clean and modern landing page, inspired on light illustrations with a modern look, that can be used for companies or to showcase a product. Live Demo See here. Quick Start If you are creating a new website, the quickest way to get up and running is to clone the theme into your themes folder: git clone https://gitlab.com/writeonlyhugo/up-business-theme.git themes/up-business-theme The folder hugoBasicExample contains a working version of a website with the theme.
How to use PODMAN in place of docker in windows?
Tags: podman, docker, vscode, remote
Published: 2023-08-08 03:07:25

## First enable windows subsystem for linux (WSL)

1. Enable Windows Subsystem for Linux 
    - `dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart`
2. Enable Virtual Machine
    - `dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart`
3. Install `podman` desktop from [podman.io](http://podman.io)
4. Install visual studio code (`vscode`) from [https://code.visualstudio.com/](https://code.visualstudio.com/)
5. Add extension dev containers to `vscode` [Dev Containers - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
6. Update the `vscode` extension `dev containers` settings to point to `podman` instead of `docker`
    1. Press `F1`
    2. Enter `Dev Containers: Settings` in the prompt
    3. And set the value of `dev.containers.dockerPath` to podman
        
       ![docker path](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3si6xrv5gar44vqvlt9r.png)

6. Close `vscode` and open it again

7. To verify if all the settings are done correctly:
    1. Open a `powershell` `terminal` and execute `podman pull python:3.11.4`
    2. Execute `podman run -it python:3.11.4 python`
    3. Do not close the terminal and let it run


## Connect to the running container from `vscode`


1. Open `vscode` and look for the `><` in the bottom left hand side corner and click on it
    
    
      ![vscode remote](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/78vzqcyqe0ftmqey79kg.png)
    
2. It shall open a dialog on the top of the window and select `Attach to Running Container…`
    
    
     ![prompt to connect](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wpuh6se97rnynw7x7wb3.png)
    
3. Wait for vscode to show the running containers
    
    ![running containers](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9yaur722hb95am69wpo3.png)
    
4. Select the container required and you are all set to work inside the container.
5. `vscode` will open a new window and connect to the container selected.
6. Once the new vscode window opened select a folder inside the continaer
    
    
     ![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ivukjdy8194b89x3aqck.png)
    
7. You are now connected to the container from `vscode`!
#AIInnovation: Navigating Change and Embracing Opportunities in Software Development
Tags: webdev, ai, softwaredevelopment
Published: 2023-08-08 01:51:43

**Fear of Job Disruption**: 

The adoption of AI has sparked concerns among developers about the potential loss of their jobs and the devaluation of their skills. Many express worries that AI might render their roles redundant.
 

**Automation's Impact**:

AI is predicted to have a significant impact on the job market, with estimates suggesting that a substantial number of jobs could be automated by 2030. McKinsey's projection that "half of today's work activities could be automated" raises concerns about the future of various professions, including technology development.


**Positive Outlook**:

While initial fears are common with new technological advancements, AI could be more of a friend than a foe to developers. There is potential for AI to create new opportunities and jobs that may not be immediately evident.


**Developer Adoption of AI**: 

The majority of developers are already embracing AI, with a significant percentage utilizing AI tools to enhance their productivity. AI-powered tools like GitHub Copilot are helping developers automate coding tasks and learn new skills faster. Developers are using AI tools to gain a better understanding of codebases and learn new tools, frameworks, and languages more efficiently.


**The Future of Software Development**:

The next era of software development is expected to be heavily influenced by AI. Developers who acquire AI skills can free themselves from repetitive tasks and focus on more creative and complex projects. Despite the potential for AI to replace certain tasks, the role of developers as builders and creators remains essential. Developers' capacity to learn and innovate contributes to advancing AI technology and meeting evolving needs.
Elevate Your Site to the Next Level! Master Landscape & Portrait Mode with CSS Media Queries
Tags: css, responsive, webdev, design
Published: 2023-08-08 00:11:28


---
title: "Elevate Your Site to the Next Level! Master Landscape & Portrait Mode with CSS Media Queries"
published: true
description: "A comprehensive guide to using CSS media queries for landscape and portrait mode responsiveness. A must-read for modern web developers!"
tags: css, responsive, webdev, design
---

## Table of Contents
1. [Introduction](#introduction)
2. [Landscape Mode Support](#landscape)
3. [Portrait Mode Support](#portrait)
4. [Combining Them](#combine)
5. [Conclusion](#conclusion)

## <a name="introduction"></a>1. Introduction
Responsive design is an essential skill in modern web development. In this article, we'll explore how to utilize CSS media queries to cater to both landscape and portrait modes on various devices.

## <a name="landscape"></a>2. Landscape Mode Support
Designing for landscape mode (horizontal orientation) can be implemented as follows:

### Sample Code
```css
/* Landscape mode styling */
@media only screen and (orientation: landscape) {
  body {
    background-color: lightblue;
  }
  /* Additional styles for landscape mode here */
}
```

## <a name="portrait"></a>3. Portrait Mode Support
For portrait mode (vertical orientation), the implementation would look like this:

### Sample Code
```css
/* Portrait mode styling */
@media only screen and (orientation: portrait) {
  body {
    background-color: lightpink;
  }
  /* Additional styles for portrait mode here */
}
```

## <a name="combine"></a>4. Combining Them
Landscape and portrait modes can be combined, allowing you to target specific device sizes:

### Sample Code
```css
@media only screen and (orientation: portrait) and (min-width: 400px) {
  /* Styles for portrait mode with a width of 400px or more */
}
```

## <a name="conclusion"></a>5. Conclusion
Using CSS media queries for landscape and portrait mode support is a powerful tool for responsive design. With this knowledge, you can implement beautiful designs that cater to various devices and screen sizes.

Don't forget to like and follow!
Setup Google Cloud Storage Service Account
Tags: gcp, serviceaccount, containerregistry
Published: 2023-08-09 07:03:23

---
title: Setup Google Cloud Storage Service Account
published: true
date: 2023-08-08 00:00:00 UTC
tags: gcp,serviceaccount,containerregistry
canonical_url: https://blog.robertoconterosito.it/posts/gcp/setup-storage-service-account/
---

I was in trouble with this for a while so I decided to write down this guide to help me in the future and maybe it will help you too.

The goal is quite simple: I’ve to create a google service account needed by my pipeline to publish docker images to the Google Cloud Container Registry.

This account **must** have the following permissions:

- App Engine Admin
- Cloud API Gateway Service Agent
- Cloud Deploy Admin
- Cloud Infrastructure Manager Admin
- Container Registry Service Agent
- Environment and Storage Object Administrator

Sorry guys but without these permissions I was not able to make it work! **Do you know which one is not needed? Please let me know!**
I Built a Linklog
Tags: slashpages, ruby, rails, rss
Published: 2023-08-11 17:21:41

---
title: I Built a Linklog
published: true
date: 2023-08-08 00:00:00 UTC
tags: slashpages,ruby,rails,rss
canonical_url: http://calebhearth.com/i-built-a-linklog
---

In the spirit of Daring Fireball and to fill a space between a social post or boost and a full blog post, I’ve created a new feature for Hearthside that allows me to share a link to a web page that I want to share along with some brief notes and, usually, a quote. It’s similar to social bookmarking, linklogs, content aggregators, etc. I curate a set of links I enjoy online, write up a little blurb about them, and publish to the new [Linked](/linked) section of my site.

 
## How I built it
 

My Linklog is built around a Link model, which you might have guessed easily enough. I previously had a different app that I used to store a searchable history of articles I’d read and might want to be able to recall something about, hoping I’d eventually have a [Memex](https://hyfen.net/memex/)-style personal knowledge base. That fell by the wayside, but I was able to salvage the schema for this feature. In addition to the “necessary” fields, the schema includes several things that I probably won’t ever expose, but which I figure I might...

[Read more](http://calebhearth.com/i-built-a-linklog)
What is SLI, SLO, SLA & Error budgets in Site Reliability Engineering?
Published: 2023-08-07 23:02:38

Details on this blog: [https://belowthemalt.com/2023/08/07/what-is-sli-slo-sla-and-error-budgets-in-site-reliability-engineering/](https://belowthemalt.com/2023/08/07/what-is-sli-slo-sla-and-error-budgets-in-site-reliability-engineering/)
The access to technology...
Tags: opensource, news, ai
Published: 2023-08-07 22:39:47

Accessibility to new technologies is a fundamental right that should be guaranteed to all people, regardless of their disabilities.
New technologies can provide people with disabilities with a range of benefits, such as the ability to communicate with others, access information and education, and participate in the labor market.
However, there are a number of barriers that can prevent people with disabilities from accessing new technologies. These barriers can be physical, such as the lack of access to technology or the necessary infrastructure, or they can be ECONOMIC.
They can also be social, such asthe lack of knowledge about new technologies or discrimination by others.

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

It is important to remove these barriers so that all people with disabilities can benefit from new technologies. There are a number of measures that can be taken to improve accessibility to new technologies, such as Developing accessible software and hardware for people with disabilities.
Offering training and awareness about new technologies for people with disabilities.
Adopting policies that prohibit discrimination on the grounds of disability.


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

By taking these measures, we can create a more inclusive society in which all people, regardless of their disabilities, can access new technologies and benefit from them.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zkkihwks3gwcr12lqqjw.jpg)
Back to the basics
Tags: computerscience, beginners
Published: 2023-08-07 22:36:23

Hi wherever you are reading this from :)

I am a developer whose interest lies primarily in building "problem-solving" applications and also developing games that tell lasting stories.

To close up every gap in my knowledge of basic computing and connections, I have decided to take a refresher course to learn from _the scratch_ by studying the "comptia a+" course starting from the overview of computers.

I will be documenting my journey here from time to time hopefully you too can learn a thing or two along the way. I am also open to making new friends, so feel free to leave a comment or send a dm.

I will work better on my cohesion on subsequent posts. See you later. 

void main() {
  Sincerely 
  Eromose King
}
🚀 Stepping out of Your Comfort Zone
Published: 2023-08-07 22:34:19

## Embracing New Technologies and Opportunities 🌟

Greetings, fellow developers! 👋🏼 Today, let's delve into a topic close to every tech enthusiast's heart: the exhilarating journey of embracing new technologies and seizing untapped opportunities.🌐💡
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6l0dhr1elur40su53bf0.JPG)
In the rapidly evolving realm of technology, one thing is certain: comfort zones are meant to be challenged. As developers, we're presented with a dynamic landscape teeming with novel technologies, frameworks, and possibilities. 🌍🔍

## 💥 The Power of Uncharted Territory
Venturing into uncharted territory is not just an option—it's an invitation to ignite personal and professional growth. 📈💪 Embracing new technologies may feel like a leap of faith, but remember, it's through these leaps that breakthroughs happen, and innovation thrives.

## 🌱 Nurture the Curious Mind
Cultivating a curious mind is the cornerstone of advancement. 🤔💡 Embrace a mindset of continuous learning, where every challenge becomes an opportunity to acquire new skills and insights. The thrill of discovery awaits those who dare to explore beyond their comfort zone.

## 🚀 Opportunity in Diversity
The tech landscape is a symphony of diversity, with each technology contributing a unique note to the melody of progress. By broadening your tech toolkit, you're not only enriching your skillset but also becoming a versatile maestro, capable of harmonizing various components into extraordinary solutions.

## 🏆 Embrace the Discomfort
Stepping out of your comfort zone may be uncomfortable, but it's where the magic happens. 🪄💫 Embrace the discomfort, for it's a sign that you're on the verge of something remarkable. The challenges you face today become the stepping stones to your triumphs tomorrow.

## 🌐 Embracing Global Connections
Diving into new technologies opens doors to global connections. 🤝💻 Collaborate with like-minded minds from around the world, share insights, and shape the tech landscape collectively. The bonds you forge today could lead to groundbreaking collaborations tomorrow.

## 🔑 Harnessing the Power of Hashtags
Let's leverage the power of hashtags to fuel our journey of embracing new technologies! 

###🌟 So, my fellow developers, 
let's embark on this exciting expedition together. Embrace the thrill of the unknown, welcome challenges with open arms, and watch as you transform into a tech trailblazer. The path may be uncharted, but remember—with every step, you're shaping the future of technology. 🌈👨‍💻


Thanks for reading this Article, please share if you find it helpful.
How to find out the differences between 2 objects in Java (2023)
Tags: howtostartprogramming, java, java8, tutorial
Published: 2023-08-07 21:40:45

## 
In this post, we will showcase a step-by-step guide on how to detect and present distinctions between two java objects by leveraging a set of classes and interfaces provided by Apache Commons Lang.

**Classes, Interfaces, and pom.xml**
The classes and interfaces to be used for this post are as follows:

org.apache.commons.lang3.builder.Diff
org.apache.commons.lang3.builder.DiffResult
org.apache.commons.lang3.builder.DiffBuilder
org.apache.commons.lang3.builder.Diffable

**Scenario**
We have two Employee Object for our use case, and we need to list the differences between them. The list must show the affected field and the old-new (from Employee 1 to Employee 2 values.

**Employee Object 1**
For the Employee Object, we have the following data.

Name = Ankit
ID = 1
Designation = Assistant Vice President
Address = Mumbai
Employee Object 2
For the Employee Object, we have the following data.

Name = Ankit
ID = 1
Designation = Vice President
Address = Pune

[Read complete tutorial](https://howtostartprogramming.in/how-to-find-out-the-differences-between-two-objects-in-java/)
Piece of wisdom — Data clump
Tags: learning, writing, coding, devjournal
Published: 2023-08-07 22:18:07

Don’t know what it is? Data clump is easy to identify and a good example of code smell to start refactoring your code.

## Wait… What? A quick definition

> Is called data clump when you have the same pair of arguments/parameters that you pass together all the time.

That is a code smell and a strong indication that you should extract an object to hold those values instead. A simple way to test if you have a data clump is to remove one of the pieces of arguments and see if the remaining one still makes sense. If these things are going to coexist and have an implicit reliance between them, then it is better to extract them into a named object.

This approach also saves you time when explaining your code to someone else. For instance, imagine that you have a _start_date_ and an _end_date_ scattered throughout your code. You would have to constantly explain, "Well... we always have a start date and an end date to begin with."

Therefore, when you have something implicit in your code that can be made explicit by extracting them, it will always be a significant advantage.