teleren/devto huggingface dataset:
Developer diary #11. Cheating with AI.
Tags: programming, ai, java, android
Published: 2024-05-28 23:26:44

Now is the time of AI hype. It helps to as solve problems, find optimal solutions, generate fun image or music. One question disturb me all this time. Where is the border between useful of AI and cheating. 

It is useful when I try to understand a piece of code, it provides detailed explanation. I use generated code to solve a problem if I am not experienced in some languages, but I always read code carefully and try to understand how it works.  I don't want to use something that I cannot understand.

I avoid use AI to generate text for presentation, feedback on my colleagues, message in chat, CV or cover latter and more other cases. I feel it is not so natural, because text reflect our person. With AI we try to create an ideal version of ourselves. Of Course, with LLM I can do this work in 10 times faster, but It hides my identity. It looks like use computer when you play in online chess, it is clear cheating.

It will be interesting to know of your borders of using AI.
Issue 46 of AWS Cloud Security Weekly
Published: 2024-05-28 23:16:08

(This is just the highlight of Issue 46 of AWS Cloud Security weekly @ https://aws-cloudsec.com/p/issue-46 << Subscribe to receive the full version in your inbox weekly).

**What happened in AWS CloudSecurity & CyberSecurity last week May 22-May 28, 2024?**

- AWS Billing and Cost Management console now offers a streamlined, console-based migration process for policies with retired IAM actions (aws-portal). Customers who have not yet transitioned to fine-grained IAM actions can initiate this process by selecting the Update IAM Policies recommended action on the Billing and Cost Management home page. This feature identifies affected policies, recommends equivalent new actions to maintain current access, provides testing options, and completes the migration of all affected policies across the organization. 
- AWS IAM now supports signing AWS API requests with the Sigv4A encryption algorithm using session tokens issued in the AWS GovCloud (US-West) Region. By using the Sigv4A algorithm to cryptographically sign an AWS request, you can send the request to service endpoints in any of the AWS GovCloud (US) Regions.
If your account's workloads or callers need to sign AWS requests with Sigv4A, or if you plan to use an AWS feature that requires it, configure the AWS Security Token Service (STS) endpoint in the AWS GovCloud (US-West) Region to issue session tokens that support the Sigv4A algorithm. This configuration can be done via the AWS IAM Console or by calling the AWS IAM SetSecurityTokenServicePreferences API. These session tokens are larger in size, similar to those issued by the STS endpoint in the AWS GovCloud (US-East) Region, which already supports Sigv4A. 

**Trending on the news & advisories (Subscribe to the newsletter for details):**

- GitHub. On instances that use SAML single sign-on (SSO) authentication with the optional encrypted assertions feature, an attacker could forge a SAML response to provision and/or gain access to a user with administrator privileges. 
- LastPass Is Encrypting URLs. Here’s What’s Happening. 
- SEC Charges Intercontinental Exchange and Nine Affiliates Including the New York Stock Exchange with Failing to Inform the Commission of a Cyber Intrusion. 
- GitLab high severity patch release.
CRYPTOCURRENCY RECOVERY EXPERT (CYBERPUNK PROGRAMMERS)
Tags: cryptocurrency, recovery, experts
Published: 2024-05-28 23:11:30

In the realm of financial treachery, where promises unravel into nightmares and trust is a fragile currency, the saga of Cyberpunk Programmers emerges as a beacon of redemption. Our saga unfurled innocuously, as we ventured into the world of forex trading, entrusting our collective investments of $70,000 to an ostensibly reputable individual. Each of us, lured by the siren song of promised returns, committed $10,000 to the venture, envisioning a future of prosperity and abundance. Yet, as the ephemeral veil of trust dissolved, revealing the stark reality of deception, our collective dreams lay shattered at our feet. The individual, once regarded as a paragon of reliability, vanished into the ether, leaving behind a trail of deceit and desolation. The abrupt cessation of promised payouts and the eerie silence that pervaded his once-accessible realm spoke volumes of betrayal. In our hour of despondency, a fortuitous encounter transpired, as providence led us to the doorstep of Cyberpunk Programmers . With hearts heavy and hopes tentative, we entrusted them with the harrowing chronicle of our misfortune, laying bare the intricate nuances of our plight. Their response was a symphony of empathy and determination, resonating with a resolute commitment to rectify the injustices inflicted upon us. The ensuing journey was one fraught with peril and uncertainty. Yet, guided by the steady hand of Cyberpunk Programmers, we traversed the tempestuous seas of financial malfeasance with unwavering resolve. Armed with a panoply of forensic acumen and digital dexterity, they embarked on a relentless pursuit of justice, delving into the murky depths of cyberspace with unparalleled tenacity. The odyssey culminated in a triumph of epic proportions, as Cyberpunk Programmers successfully unmasked the elusive perpetrator and commenced the arduous restitution process. The recovery of $50,000, a testament to their indomitable spirit and unyielding dedication, heralded a dawn of vindication and renewal. Yet, beyond the tangible reclamation of funds, Cyberpunk Programmers bestowed upon us a more precious gift – the restoration of faith. In the crucible of adversity, they stood as bastions of integrity and guardians of virtue, illuminating the path toward redemption with their unwavering commitment to justice. In summation, the saga of Cyberpunk Programmers transcends the confines of mere financial restitution, embodying the quintessence of resilience and redemption in the face of adversity. To those ensnared in the tangled web of financial deceit, take solace in the knowledge that amidst the darkness, a beacon of hope awaits – Cyberpunk Programmers, the heralds of redemption in an era plagued by duplicity and despair.Simply visit their website CYBERPUNKERS DOT ORG or email CYBERPUNK @ PROGRAMMER . NET
Manufacturers innovate with Brainboard
Tags: industry, terraform, automotive, airlines
Published: 2024-05-28 22:42:00

Leading manufacturers are investing in automation and digital capabilities. Traditional practices are being modernized with cloud infrastructure to boost revenue and reduce operating expenses.

Elastic infrastructure creates new opportunities for differentiation, but it also increases the attack surface for hackers.

To achieve new levels of innovation — along with security and compliance — top manufacturers work with Brainboard. Learn how they are using Brainboard to deliver new customer experiences, and to run more securely and efficiently.

> The visibility, transparency, and control we have with Brainboard eliminates so many of the service discovery and connectivity obstacles that used to prevent us from working as quickly and efficiently as we wanted.

## **Challenge:**

Manufacturers need to rapidly deploy and integrate new production lines to meet market demands or innovate product offerings. Traditional infrastructure management can delay these deployments, affecting time to market and operational efficiency.

## **Brainboard accelerates digital transformation for manufacturers around the world**

Brainboard enables manufacturers to quickly design, simulate, and deploy cloud infrastructures that support new production lines. Its intuitive drag-and-drop interface allows even those with limited coding knowledge to participate in infrastructure setup, speeding up the deployment process and ensuring that production lines are up and running faster.

## **Implementation:**


![Infrastructure as Code provisioning](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/899aold8ljoyrtod1shp.png)

1. **Rapid Prototyping:** Use Brainboard’s designer to create and test new production line setups in a virtual environment before actual deployment, accelerating cloud adoption.
2. **Integration of IoT and Automation Tools:** Seamlessly integrate IoT devices and automation tools into the production line through easy-to-configure cloud infrastructure templates.
3. **Real-time Monitoring and Adjustments:** Use Brainboard’s visual monitoring tools to oversee production lines and make immediate adjustments and quickly respond to new market opportunities, seasonal campaigns, product launches and security incidents.
4. Protect customer data and business systems through zero trust security and improve efficiency across multi-cloud environments.

## **Outcome:**

Manufacturers reduce the time it takes to bring new production lines online from weeks to days, significantly increasing their agility. Enhanced ability to respond to market trends and technological advances results in better product quality and higher customer satisfaction.

## Ready to get started? 
[Talk to our technical sales team](https://meetings.hubspot.com/brainboard/discovery) to answer your questions.
Top 7 Featured DEV Posts of the Week
Tags: top7
Published: 2024-05-28 22:21:32

_Welcome to this week's Top 7, where the DEV Team handpicks our favorite posts from the previous week._

Congrats to all the authors that made it onto the list 👏

{% embed https://dev.to/madsstoumann/wheel-of-fortune-with-css-p-pi-1ne9 %}

Follow Mads' journey in recreating this commonly used pop-up. We dare you not to spin! 

---

{% embed https://dev.to/jenc/stop-resizing-your-browser-improve-testing-for-responsiveness-4pbm %}

Jenn shares all the things browser resizing won't account for, and explains how to utilize better tools and techniques for mobile testing. 

---

{% embed https://dev.to/lowlighter/make-naked-websites-look-great-with-matchacss-4ng7 %}

Check out matcha.css, a lightweight, free and open-source css library that uses semantic styling. 

---

{% embed https://dev.to/dshafik/finding-terminal-utopia-583k %}
Follow along Davey's journey towards Nerdvana as he sets up a new laptop from scratch and evaluates his terminal set up. 

---

{% embed https://dev.to/srbhr/search-will-be-the-future-of-llm-and-ai-applications-26fl %}

Saurabh highlights the importance of developing efficient search architectures alongside LLM applications. 

--- 

{% embed https://dev.to/shuttle_dev/building-agentic-rag-with-rust-openai-qdrant-3bjd %}

Learn how to build an agent-based Retrieval-Augmented Generation (RAG) system using Rust, OpenAI, and Qdrant. 

---

{% embed https://dev.to/cyclops-ui/is-kubernetes-a-database-crds-explained-in-three-minutes-361d %}

Juraj explains the role of Custom Resource Definitions in Kubernetes and whether Kubernetes can be considered a database. 

---


_And that's a wrap for this week's Top 7 roundup! 🎬 We hope you enjoyed this eclectic mix of insights, stories, and tips from our talented authors. Keep coding, keep learning, and stay tuned to DEV for more captivating content and [make sure you’re opted in to our Weekly Newsletter] (https://dev.to/settings/notifications) 📩 for all the best articles, discussions, and updates._
How to Resolve Node.js ERR_OSSL_EVP_UNSUPPORTED Error
Tags: webdev, javascript, programming, node
Published: 2024-05-28 22:17:01

Are you facing the notorious `ERR_OSSL_EVP_UNSUPPORTED error` in your Node.js applications? 
This error is a common stumbling block that occurs due to changes in cryptographic operations handling introduced with [Node.js version 17](https://nodejs.org/en/blog/release/v17.0.0). The root of the problem lies in the default configuration of [OpenSSL](https://www.openssl.org/) in newer Node.js versions, which restricts the use of certain algorithms. Fortunately, there are effective solutions to overcome this error, ensuring your development process remains smooth and uninterrupted.

## Why Does This Error Occur?

The `ERR_OSSL_EVP_UNSUPPORTED error` typically arises when applications or dependencies try to invoke cryptographic algorithms that are no longer supported by default in the OpenSSL version bundled with Node.js v17 and later. This change is part of an effort to enhance security by discouraging the use of older, potentially vulnerable cryptographic practices.

## Resolving the Error

There are several strategies to resolve this error, each suited to different needs and project requirements. Below, we explore the most effective solutions:

1.**Utilize the OpenSSL Legacy Provider**

A quick fix to bypass this issue is to instruct Node.js to use the OpenSSL legacy provider. This can be achieved by setting an environment variable:

**Temporary Fix:**

```
export NODE_OPTIONS=--openssl-legacy-provider
npm start
```

**Permanent Fix:**

Add the environment variable to your shell configuration file to ensure it persists across sessions.

```
echo 'export NODE_CODE=--openssl-legacy-provider' >> ~/.zshrc
source ~/.zshrc
```

2.**Downgrade Node.js**

For projects that are not yet compatible with the latest Node.js versions, downgrading to an earlier version such as Node.js v16.x can be a practical solution:

**Using [nvm](https://github.com/nvm-sh/nvm) (Node Version Manager):**

```
nvm install 16
nvm use 16
```

If you don't have nvm installed, you can set it up easily:

```
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
# or
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
```

3.**Update Your Dependencies**

Keeping your project’s dependencies updated is crucial, especially those that utilize Node.js’s crypto APIs, such as webpack and sass-loader. An updated ecosystem can potentially resolve compatibility issues:

```
npm update
```

## Conclusion

Choosing the right approach to resolve the `ERR_OSSL_EVP_UNSUPPORTED error` depends on your project's specific needs and environment. Whether you opt for a quick workaround by setting an environment variable, downgrade Node.js for compatibility, or update your dependencies for a more long-term solution, each method offers a reliable way to keep your Node.js applications running smoothly. 

Thanks for reading...
**Happy Coding!**
My first ever company meeting.
Published: 2024-05-28 21:54:10

Hey everyone! So, today was my very first meeting with a real business team. Yep, I'm just a 14-year-old guy in high school, and I landed an internship at a game developer company. Pretty cool, right?

At first, I was super nervous. I mean, who wouldn't be, right? It's like stepping into a whole new world. But you know what? The team was really supportive. They told me it's totally okay to mess up sometimes. Phew, that took a load off my shoulders!

I got to introduce myself, which was pretty cool. Then, I showed them a demo of a video game I've been working on it was kinda funny though, because we had some trouble sharing my screen at first. But hey, we fixed it pretty quickly!(btw here's a link to my demo:    [A Knight's Adventure](https://angeljrp.itch.io/aknightsadventure))

I talked about my game, all its cool mechanics, how it works—you know, the whole deal. And then, it was the other new member's turn. He showed off his game demo too. It was really cool to see all these different ideas in one room!

After that, one of the team members filled me in on the story behind the games they're making. It's pretty neat how they all connect together. I gotta say, I learned a lot in just one meeting.

And get this, at the end, they invited me to join their GitHub and chats. How awesome is that? I feel like a real part of the team now!

So yeah, that was my first business meeting adventure. It was quite the experience, full of new faces, exciting discussions, and valuable insights into the world of game development. I'm eager to dive even deeper into this journey and discover all the amazing opportunities that lie ahead as part of this incredible team!
Smooth Moves-Expert Furniture Movers at Your Service
Published: 2024-05-28 21:26:36

Entrust your valuable furniture to the expert hands of our dedicated team. Whether you're moving across town or across the country, our experienced professionals guarantee a seamless transition for your prized possessions. With meticulous care and precision, we handle every aspect of your furniture move, ensuring it arrives at its destination intact and on time.

The team understands that each piece of furniture holds sentimental and monetary value. That's why we employ the highest standards of safety and protection throughout the moving process. From delicate antiques to bulky couches, we treat every item with the utmost respect and attention it deserves, ensuring it remains in pristine condition from start to finish.

We pride ourselves on our reliability and efficiency, aiming to alleviate the stress and hassle often associated with furniture moving. Whether you're a homeowner, business owner, or interior designer, you can rely on us to deliver exceptional service tailored to your specific needs and requirements.

Experience the peace of mind that comes with choosing a trusted partner for your furniture moving needs. With our proven track record of customer satisfaction, you can rest assured that your furniture is in capable hands. Sit back, relax, and let us handle the heavy lifting while you focus on settling into your new space.

[More hints](https://capitalcitymoversabudhabi.com/furniture-movers-dubai/)
Securing My First Internship with Open Source
Tags: webdev, beginners, programming, opensource
Published: 2024-05-28 21:17:09

Hey👋, I am [Archit Sharma](https://iarchitsharma.github.io/), a student and SDE based in India. In this blog, I aim to share my experience and journey of obtaining my first internship through open source contributions.

## How did it all begin?
It all started back in 2023 when I was confused about what I was doing. I was learning different tech stacks but wasn't applying them anywhere. One night, I was looking through the LFX mentorship page and found a project called Meshery, which is under Layer5. Even though I didn't have all the required tech stacks, I still applied.

A few days later, I received a DM from the founder of Layer5, asking me to participate in the community and projects. He also gave me a brief introduction to the community and its projects.

And that is how I kickstarted my journey in open source.

## Joining the Community
I joined the Layer5 Slack and introduced myself in the `#newcomers` channel, where I received advice to join the website meeting held every Monday. Taking that advice, I attended the website meeting. At first, I was a bit shy, but then I introduced myself during the meeting. Additionally, I received my very first issue to work on during the same meeting. It was a simple task—just adding an image to a React component.

From that day onward, I never looked back and continued making contributions to the project. After six months of contributing, I was offered a six-month internship with Layer5.


![Layer5 Internship offer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lpr21twwm7xnecxfnxkg.png)

## Advice for New Open Source Contributors

1. Consistency is key, be consistent in solving the project's problems
2. Ask your questions, but don't overly rely on or disturb the maintainers, as they might end up solving the issue themselves.
3. Things may seem overwhelming at first, but with patience, everything will eventually start to make sense.

## Conclusion
Besides all of this, **Layer5** is an awesome organization for networking and learning new things. In my opinion, it’s the most beginner-friendly organization, and I advise all open source beginners to give it a try.


> You can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something - your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life. - **Steve Jobs**
Deploy static websites and web apps anywhere in minutes with TurboCloud
Published: 2024-05-28 21:05:41

Big cloud providers want you to think that the cloud is super complicated so they can sell their services. But that's not true at all - the cloud is just remote machines connected together. We at LocalCloud want to simplify deployments and show that the cloud industry is overengineered nowadays.

That's why we developed what's probably the lightest and simplest way to deploy web projects anywhere - VPS, cloud server, dedicated server, or even on-premise. No configuration, no Git required, not even CLI setup - just go to the project's root folder and run one command. Meet TurboCloud - https://github.com/localcloud-dev/turbo-cloud

## Main Advantages

- Zero dependencies - your project will be available as long as your cloud provider is live
- Daemonless
- Unbelievably lightweight - one script, less than 10KB
- HTTPS for custom domains
- Works with WebSocket services (ws:// and wss://)
- TurboCloud itself uses very few resources
- Fully predictable cloud costs (with cloud providers from "Recommended Cloud Providers" below)
- Zero DevOps knowledge required
- Only one command to deploy from your local machine
- Works with virtually any cloud provider
- No Docker registry required
- Zero downtime deployments

# A few examples how it works

## How to Deploy Static Websites

- Order a VPS, cloud server, or dedicated server with a public IP address, fresh Ubuntu 22.04, and SSH access from any cloud provider (see Recommended Cloud Providers section below).
- Add an A record with the IP address of your new server to your custom domain (DNS A record: your_domain.com or subdomain.your_domain.com -> IP address of the server created in step 1)
- In the root folder of your static website project, run the following command (replace ip_address_of_server, expose_port_from_dockerfile, and your_domain_without_http_https with the real values):

```
curl https://raw.githubusercontent.com/localcloud-dev/turbo-cloud/main/turbocloud | sh -s -- -i ip_address_of_server -d your_domain_without_http_https -t static -p expose_port_from_dockerfile
```

- Open the URL you set with the -d flag in step 3 in your browser

## How to Deploy projects with Dockerfile

- Order a VPS, cloud server, or dedicated server with a public IP address, fresh Ubuntu 22.04, and SSH access from any cloud provider (see Recommended Cloud Providers section below).
- Add an A record with the IP address of your new server to your custom domain (DNS A record: your_domain.com or subdomain.your_domain.com -> IP address of the server created in step 1)
- In the root folder of your project with Dockerfile (Dockerfile should be in the project's root folder), run the following command (replace ip_address_of_server and your_domain_without_http_https with the real values):

```
curl https://raw.githubusercontent.com/localcloud-dev/turbo-cloud/main/turbocloud | sh -s -- -i ip_address_of_server -d your_domain_without_http_https -t dockerfile
```

- Open the URL you set with the -d flag in step 3 in your browser

**Full documentation can be found at https://github.com/localcloud-dev/turbo-cloud**