teleren/devto huggingface dataset:
what is wrong, power bank makes noise when being charged
Published: 2023-12-12 10:56:16

If a power bank is making noise when being charged, it may indicate a potential issue or malfunction. Here are a few possible reasons and suggestions on what you can do:

Coil Whine: Some power banks may exhibit a phenomenon called "coil whine," which is a high-pitched noise produced by the electromagnetic coils inside the device. 

It's generally harmless, but it can be annoying. If the noise is not too loud and the power bank functions properly, it might be normal behavior.

Faulty Components: A more concerning possibility is that there is a faulty component within the power bank.

 It could be a sign of a malfunctioning circuit or a problem with the battery. In this case, it's advisable to stop using the power bank and contact the manufacturer for further assistance.

Overheating: Excessive heat during charging can sometimes lead to unusual noises. Check if the power bank is getting excessively hot while charging. 

If it is, this could indicate a problem with the battery or charging circuit. Overheating can be a safety concern, and you should discontinue use immediately.

Charging Cable or Adapter: The noise might not be coming from the power bank itself but from the charging cable or adapter. 

Try using a different cable and adapter to see if the noise persists. If the noise goes away, it might indicate a problem with the original cable or adapter.

Contact the Manufacturer: If the power bank is still under warranty or you are unsure about the cause of the noise, it's recommended to contact the manufacturer for support.

 They can provide guidance on whether the noise is normal or if there's a potential issue that needs addressing.

 Avoid using damaged or malfunctioning power banks to prevent potential hazards.
Unveiling the Future: How AI is Transforming Our Daily Lives
Tags: ai, innovation, futuretech, tehnologytrends
Published: 2023-12-12 10:47:11

## Embracing the AI Revolution: A Glimpse into Tomorrow

The world as we know it is on the brink of a technological transformation, spearheaded by Artificial Intelligence (AI). This post explores how AI is not just a buzzword in tech industries but a rapidly evolving force transforming our daily lives.

### AI in the Home: The Smart Living

Imagine waking up to a home that knows your routine. Smart homes, powered by AI, are turning this into a reality. From intelligent thermostats that adjust the temperature based on your preferences and schedule to smart refrigerators that remind you to restock on groceries, AI is making homes more efficient and personalized. Voice assistants like Alexa and Google Assistant are becoming the central hubs of these smart homes, allowing you to control various aspects of your home with just your voice.

### The Road Ahead: Autonomous Vehicles

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8jk55bwxjsq5u2dr1nc7.png)
AI is steering the future of transportation with autonomous vehicles. Companies like Tesla, Waymo, and others are at the forefront of this revolution. These self-driving cars use a combination of sensors, cameras, and advanced algorithms to navigate roads safely. The potential benefits are enormous - from reducing traffic accidents caused by human error to improving traffic flow and even changing the very fabric of urban planning. As these technologies mature, the dream of sitting back and enjoying the ride while your car drives you to your destination is becoming a reality.

### Healthcare Revolutionized: AI as a Lifesaver

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5p3rmik5rvva1gyuf4e8.png)
AI's impact on healthcare is profound and multifaceted. In diagnostics, AI algorithms are helping doctors detect diseases like cancer more accurately and at earlier stages. In treatment, personalized medicine is becoming more of a reality, with AI analyzing data from a patient's medical history to suggest customized treatment plans. AI is also revolutionizing patient care, with chatbots providing basic health advice and reminders for medication, and robotic assistants helping in surgeries with precision that surpasses human capabilities.

### The Workplace Transformed


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/110jfhp34ckvpjc2zsca.png)
AI is not just about robots taking over jobs; it's reshaping how we work. In many industries, AI is being used to automate repetitive tasks, allowing human workers to focus on more creative and strategic activities. AI-powered data analysis tools are providing insights that were previously impossible, leading to more informed decision-making. In the future, AI could lead to entirely new job categories and change the way we think about work and productivity.

---

If you liked my article, follow me on github -> [Matek's github](https://github.com/matek075)
59. Planning the coding break ahead (Day 57)
Published: 2023-12-12 10:31:14

Hey there! Today was quite a whirlwind – got home late around 8 PM after a tough day at work. Feeling a bit low on inspiration, but that's all part of the journey, right?

Honestly, I don't have much in terms of coding updates to share, but that doesn't mean I haven't been busy planning my next steps. Here's what's on my radar for the upcoming four weeks:

First up, the next two weeks leading to Christmas will be all about diving into my terminal application assignment. It's a challenge, but I'm ready to tackle it head-on.

Then, during the Christmas to New Year period, I set myself a goal: eight hours of coding study every day! Ambitious, I know, but I've found some fantastic online training videos tailored for beginners covering HTML, CSS, and Python. Some of these videos are marathon sessions lasting between 6 to 12 hours! I'm planning to immerse myself in these materials, absorbing as much knowledge as I can. Plus, I want to dedicate some time to tackling coding challenges, particularly in Python. It's a great way to apply what I'm learning.

I'm genuinely looking forward to these weeks ahead. I believe a successful study routine is not just about coding but also maintaining a balance. So, alongside my coding endeavors, I'll be sticking to a routine of consistent exercise, eating healthy, and ensuring I get enough good sleep. After all, a healthy body equals a healthy mind, right?

Exciting times are ahead, and I can't wait to see where this dedicated study and holistic approach take me on my coding journey!

_Time: 9:20 PM. Yawn_...
Google Gemini and Face Recognition
Tags: ai, news, machinelearning, google
Published: 2023-12-12 10:28:05

Google Gemini is primarily focused on processing and interpreting text and code to generate human-quality text, translate languages, write different kinds of creative content, and answer your questions in an informative way. On the other hand, facial recognition technology excels in identifying and verifying individuals based on their facial features, providing a unique method for authentication and access control. It may seem that Gemini and face recognition technology can’t work together but if use these two AI disciplines interweave, they can unlock novel applications with the power to transform our interactions with technology and enhance various aspects of our lives.


In this blog post, we describe some use cases for how you can use Gemini and face recognition technology together. We hope you'll find inspiration here and discover innovative ways to use these technologies in your own business ;)

## Personalization and Optimization

- **Personalized Content and Experiences**. Gemini can analyze facial expressions and user data, combined with facial recognition, to personalize content recommendations, product suggestions, and learning materials based on individual preferences and emotional responses. For instance, if a person looks excited when viewing a particular product, Gemini could recommend similar products or offer additional information about the product.

- **Optimized marketing and advertising**. Face recognition can identify individuals watching targeted ads, allowing Gemini to analyze their reactions and optimize ad campaigns for better engagement and conversion. By analyzing facial expressions and gaze direction, Gemini can determine whether individuals are paying attention to the ad and adjust the ad's content or placement accordingly.

- **Tailored customer service**. Facial recognition can identify customers in real time, allowing Gemini to personalize customer service interactions with relevant information and tailored assistance.

- **Improved Human-Computer Interaction**. Gemini and face recognition can be used to develop more natural and intuitive human-computer interaction. For instance, Gemini can analyze facial expressions and voice patterns to detect user emotions and sentiments. This information can be used to personalize conversations and provide more empathetic and helpful responses.

More ideas you can find here: [Google Gemini and Face Recognition](https://luxand.cloud/face-recognition-blog/google-gemini-and-face-recognition/?utm_source=devto&utm_medium=google-gemini-and-face-recognition)
Understand web Accessibility: the cost of not priorizing a11y (part 9)
Tags: a11y, webdev, website, learning
Published: 2023-12-12 10:16:08

## What you might loose without a11y
Disabled people represent around 16% of the population (1.3 billion people), according to the [World Health Organization](https://www.who.int/health-topics/disability#tab=tab_1).
This is like Indian population, the second most populated country on earth with around 1.4 billion people.
And what we need to know is that this population is using Internet like everyone. So, it would be wise not to cut ourselves off from this population for business purposes.

## The huge legal cost
If you're in some countries with a11y laws like the USA, Canada, you must provide an accessible web product.
In 1990, the United States Congress passed the Americans with Disabilities Act ([ADA](https://www.ada.gov/)), which mandates that public and private spaces must be made accessible to individuals with sensory, cognitive, and physical impairments or limitations.

So, either you realize an a11y audit and try to be compliant to your local a11y standard, or you might face lawsuits and all that it cost. From a project’s kick-off, requirements, mock-ups, design, development, QA, and testing – accessibility issues need to be identified and corrected along the way.
Advent of Code 2023 - December 11th
Tags: advent, adventofcode, python, december
Published: 2023-12-12 10:14:11

---
title: Advent of Code 2023 - December 11th
published: true
description: My progress with the 2023 version of Advent of Code
tags: advent, adventofcode, python, december
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/36qayk14ewje7rvykeg5.jpg
series: Advent of Code 2023
# published_at: 2023-12-01 17:41 +0000
---

In this series, I'll share my progress with the 2023 version of [Advent of Code](https://adventofcode.com/2023).

Check the first post for a short intro to this series.

You can also follow my progress [on GitHub](https://github.com/robvanderleek/adventofcode).

## December 11th

[The puzzle of day 11](https://adventofcode.com/2023/day/11) was a welcome change after the monster from December 10. It took me about 45 minutes to complete this puzzle.

__My pitfall for this puzzle:__ Had to rewrite quite a bit of code between part one and part two. But hey, sometimes software development is like that :shrug:

{% spoiler Solution here, do not click if you want to solve the puzzle first yourself %}

```python
#!/usr/bin/env python3

def load_universe():
    with open('input.txt') as infile:
        lines = infile.readlines()
    result = []
    for line in lines:
        patches = [c for c in line.strip()]
        result.append(patches)
    return result

def get_empty_rows(universe):
    result = []
    for idx, row in enumerate(universe):
        if len([c for c in row if c != '.']) == 0:
            result.append(idx)
    return result

def get_empty_columns(universe):
    result = []
    for x_idx in range(0, len(universe[0])):
        all_empty = True
        for y_idx in range(0, len(universe)):
            if universe[y_idx][x_idx] != '.':
                all_empty = False
                break
        if all_empty:
            result.append(x_idx)
    return result 

def load_galaxies(universe):
    result = []
    for y_idx, row in enumerate(universe):
        for x_idx, col in enumerate(row):
            if col == '#':
                result.append((x_idx, y_idx))
    return result

def expand(galaxies, empty_rows, empty_columns, factor):
    result = []
    for g in galaxies:
        new_x = g[0] + (len([c for c in empty_columns if c < g[0]]) * (factor - 1))
        new_y = g[1] + (len([r for r in empty_rows if r < g[1]]) * (factor - 1))
        result.append((new_x, new_y))
    return result

universe = load_universe()
empty_rows = get_empty_rows(universe)
empty_columns = get_empty_columns(universe)
galaxies = load_galaxies(universe)
galaxies = expand(galaxies, empty_rows, empty_columns, 1000000)

pairs = []
for idx, loc in enumerate(galaxies):
    for i in range(idx + 1, len(galaxies)):
        pairs.append((loc, galaxies[i]))

total = 0
for p in pairs:
    distance = abs(p[0][0] - p[1][0]) + abs(p[0][1] - p[1][1])
    total += distance
print(total)    
```

{% endspoiler %}

That's it! See you again tomorrow!
What is penetration testing in Cybersecurity ?
Tags: cybersecurity
Published: 2023-12-12 10:11:55


Penetration testing, often referred to as "pen testing" or "ethical hacking," is a proactive and systematic approach to evaluating the security of computer systems, networks, applications, and infrastructure in the field of cybersecurity. 
It involves simulating cyberattacks by authorized security professionals to identify vulnerabilities, weaknesses, and potential entry points that malicious hackers could exploit. 

The primary objective of penetration testing is to assess the security posture of an organization's digital assets, uncover vulnerabilities, and provide recommendations for remediation and enhancement of security controls. APart from it by obtaining [Cyber Security Course](https://www.edureka.co/cybersecurity-certification-training), you can advance your career in Cyber Security. With this course, you can demonstrate your expertise in ethical hacking, cryptography, computer networks & security, application security, idAM (identity & access management), vulnerability analysis, malware threats, sniffing, SQL injection, DoS, and many more fundamental concepts.

**The penetration testing process typically involves several key steps:**

**Planning and Scoping:** This initial phase involves defining the scope and objectives of the penetration test, including identifying the systems, applications, and networks to be tested, setting goals, and establishing rules of engagement. Clear communication between the penetration testing team and the organization is essential to align expectations and objectives.

**Reconnaissance:** Penetration testers gather information about the target environment, including its network architecture, system configurations, and potential vulnerabilities. This phase often includes passive information gathering through open-source intelligence (OSINT) and other research methods.

**Scanning and Enumeration:** Testers actively scan the target environment to identify open ports, services, and potential entry points. Enumeration involves collecting information about system accounts, user names, and other details that could aid in further exploitation.

**Vulnerability Assessment:** Penetration testers use specialized tools and techniques to identify vulnerabilities in the target systems and applications. These vulnerabilities can include software flaws, misconfigurations, weak passwords, and missing security patches.

**Exploitation:** In this phase, testers attempt to exploit identified vulnerabilities to gain unauthorized access to systems or sensitive data. Successful exploitation helps confirm the existence and severity of vulnerabilities.

Penetration testing should be conducted by qualified and ethical professionals who follow established guidelines and ethical standards. It is a valuable tool in an organization's cybersecurity arsenal, contributing to a proactive and robust security posture in an ever-evolving threat landscape.
Honeybadger frontend integration in neeto apps
Tags: honeybadger, webdev, errors, github
Published: 2023-12-12 10:08:56

Check out our latest blog post detailing the seamless integration of Honeybadger for error tracking in neeto apps 

At neeto, we integrated Honeybadger to track all errors in our applications at runtime. We also integrated Honeybadger with github to automatically raise issues in the respective repositories when errors are caught. 🔥

Dive into the details here: https://www.bigbinary.com/blog/honeybadger-frontend-integration-in-neeto-apps 🔗

Don't forget to explore the accompanying YouTube playlist for a visual walkthrough. 📺
The Journey of 0-to-1 in Content Strategy
Tags: contentwriting, contentstrategy, videoproduction
Published: 2023-12-12 09:52:00

_Hint: It's a no-metrics zone._

In the journey from 0 to 1, where time is a precious resource, the balance between content creation and metrics is crucial. Let's explore how to navigate this delicate equilibrium.

<figure>
  ![A person writing in the beach alone](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hz2ifa66ltvmxnwl9q4y.jpg)
  <figcaption>[Photo by Bruno Brandao](https://www.pexels.com/photo/man-writing-in-notebook-on-a-beach-19357862/)</figcaption>
</figure>

## The Early Stage: Metrics Shouldn't Guide, but Enlighten

In the initial phase, focus on creating content without being overly concerned about metrics. The goal is to take that first step, produce valuable material, and establish a foundation.

Constantly measuring every detail too early can be counterproductive. Metrics should not dictate your every move but rather provide insights to challenge assumptions and hypotheses.

## Iterate and Reflect

Instead of micromanaging with constant measurements, schedule periodic reflections, say once a month or a quarter. This allows for a more comprehensive analysis of progress without overwhelming daily tracking.

If engagement is lacking, consider positive pivots. For instance, experimenting with different content formats, like short videos over long video formats, based on observed engagement trends.

## Freshworks Developer Platform Case Study

The case study involves diversifying content formats but faces challenges in contributing to content with a broader reach.

### Identifying an Easier Medium

Recognizing the need for an easier medium, I introduced knowledge-base articles on our community platform, combining better reach with ease of contribution.

### Frequency and SEO

A strategic decision to publish articles frequently on the new platform with excellent SEO results in a compounding effect on reach. At some point, our team has contributed an article every day.

### Metrics-driven Approach

After a significant number of articles, we dived into analytics to measure engagement, user attraction, support ticket reduction, and identify the content gaps.

Based on metrics, we adjusted the content creation frequency and type, optimizing for sustained engagement.

## From 1 to N: The Role of Metrics Evolves

As the initiative progresses from 0 to 1 and beyond, metrics evolve from being an occasional tool to a necessary guide in understanding audience behavior and refining strategies.

Early concerns about missing out on metrics were, in hindsight, beneficial. It allowed our team to focus on content creation before diving into detailed measurements.

In essence, the early stages require a focus on content creation, with metrics serving as occasional guides rather than strict rulers. Over time, strategic reflections, positive pivots, and metrics-driven adaptations become essential for sustained success.
Chat Freely in Chatgot
Tags: ai, chatgpt, website
Published: 2023-12-12 09:46:40

Chatgot is a website that encompasses a multitude of AI tools, including ChatGPT, Claude, and LLAMA, among others. One major advantage of consolidating multiple tools into one website is that users no longer need to open multiple web pages; they can access the most commonly used AIs within Chatgot. This eliminates the time and effort required to switch between different web pages, significantly enhancing efficiency.

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

You can use the “@” symbol to specify one or more AIs to answer your questions simultaneously, allowing you to compare the answers provided by multiple AIs and choose the best one.

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

Furthermore, you can facilitate interaction among the AIs themselves, as they share a common context, enabling them to provide exceptionally intelligent responses in a conversation. For instance, you can have ChatGPT create an article outline and then ask Claude to write an article based on that outline.

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

Within Chatgot, there is Midjourney, which can generate images. When you randomly request a Chatbot to create a drawing, it can employ Midjourney to accomplish the task.

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

Now you can click [here](https://www.chatgot.io/) to try Chatgot!