teleren/devto huggingface dataset:
SD Elements + Veracode
Tags: veracode, security, tutorial, beginners
Published: 2023-06-28 13:46:53

A integração da SD Elements com a plataforma de testes de segurança Veracode ajuda as organizações a automatizar a identificação de vulnerabilidades e a implementação de medidas de segurança em todo o ciclo de vida do desenvolvimento de software.

A Veracode pode enviar resultados de testes de segurança de volta para a SD Elements, permitindo que as organizações identifiquem rapidamente as vulnerabilidades e implementem medidas de segurança para corrigir os problemas.

A integração da SD Elements com o Veracode também permite que as organizações automatizem muitos dos processos de segurança, economizando tempo e recursos valiosos. Isso permite que as equipes de segurança se concentrem em questões mais críticas e urgentes, como a correção de vulnerabilidades e a mitigação de riscos de segurança.

Além disso, a integração da SD Elements com o Veracode ajuda as organizações a implementar a modelagem de ameaças de forma mais eficiente e eficaz, permitindo que elas identifiquem e mitiguem riscos de segurança em todo o ciclo de vida do desenvolvimento de software, desde o planejamento e design até a implementação e testes.

Para saber os detalhes de como fazer essa integração, recomendamos ler a [documentação](https://docs.sdelements.com/release/latest/guide/docs/integrations/security_tools/supported_tools/veracode/).
How to use github copilot?
Published: 2023-06-28 13:45:58

I started using github copilot in my work. I use a business license. However, if you want to use this 'AI pair programmer' without having to pay, you need to have any of these requirements listed on the github website:
https://github.com/pricing#i-work-on-open-source-projects-can-i-get-access-to-github-copilot-for-free.

You can install copilot github extension in any IDE, in my case I installed it in Vscode.


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

Hit Tab to accept it.

**There are some shortcuts available:**

control + enter = return 10 code suggestions in a new window and there you choose the one that best pleases you.


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


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


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


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


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


I wrote this topic as a way for myself to be able to learn the basics of how to work with github copilot, there are certainly many more complete and complex options for using it.
O que é SD Elements?
Tags: sdelements, beginners, tutorial, security
Published: 2023-06-28 13:45:24

SD Elements é uma plataforma de gerenciamento de segurança de software criada pela empresa Security Compass. Ela é projetada para ajudar as organizações a incorporar a segurança em seus processos de desenvolvimento de software desde o início, fornecendo orientações e diretrizes específicas para cada fase do ciclo de vida do desenvolvimento de software (SDLC).

A plataforma SD Elements fornece uma biblioteca de padrões de segurança e regulamentos relevantes para cada fase do SDLC, permitindo que as equipes de desenvolvimento de software identifiquem e gerenciem os riscos de segurança de seus aplicativos. A plataforma fornece orientações específicas de segurança para cada tipo de tecnologia, como Java, .NET e outras linguagens de programação.

Além disso, a SD Elements também automatiza parte do processo de implementação de segurança, fornecendo modelos e scripts para permitir que as equipes de desenvolvimento incorporem controles de segurança relevantes em seus processos. A plataforma pode ser integrada aos sistemas de gerenciamento de projetos existentes, como JIRA, e também oferece relatórios e painéis para monitorar o progresso e a eficácia das medidas de segurança implementadas.
"A Model's Journey to Software Development": CodeNewbie Podcast S24E8
Tags: codenewbie, podcast, career, beginners
Published: 2023-06-28 13:32:55

Our final episode of the season is already here!

In S24E8 of the CodeNewbie Podcast, @saronyitbarek talks about how to hone your focus as a new coder and the importance of seeking mentorship with [Madison Kanna](https://twitter.com/Madisonkanna).

{% embed https://www.codenewbie.org/podcast/a-model-s-journey-to-software-development %}

Madison Kanna started her coding journey back in 2017 after deciding to shift away from her modeling career. In just one year, she made the transition fully and she is now a Senior Software Engineer in Health and Wellness at Walmart! Outside of her role, you can find her blogging about what she's learning, or leading the CodeBookClub, a virtual community she started back in 2020.

- [Listen on Apple Podcasts](https://podcasts.apple.com/us/podcast/s24-e8-a-models-journey-to-software-development/id919219256?i=1000618597042)

- [Listen on Spotify](https://open.spotify.com/episode/4c6p5IWp4Xz1kLY5Zo4sDN?si=3278c29a3bca42eb)

Or, listen wherever you normally get your podcasts!

***

**Make sure to subscribe to the CodeNewbie podcast if you haven't yet!**


Thank you all for listening to this season of the CodeNewbie Podcast. Goodbye for now and a very happy coding to all! 💜
HelpDesk Flutter with Retrofit, Getx,
Published: 2023-06-28 13:32:08

{% youtube
https://www.youtube.com/watch?v=ZRwCgdvJiK8&list=PL4_Yup0nTOppWluUWm5CAYo8WhEm6o27H&pp=gAQBiAQB
%}
Looking For Opinions & Suggestions...
Tags: flutter, development, uidesign, developer
Published: 2023-06-28 13:28:58

I am working on a mobile application project. My client has this vision for a particular section of their mobile application, which anyone can see in the cover image. Now the challenge would be to get this interface developed. We are using Flutter, so if anyone can share their expertise and provide me with a way that this interface can be developed, that would be highly appreciated. There are six revolving tabs in this section, each with a particular feature of the application.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2lysp0mmj5e2yh48b7yw.png)
Unlocking Efficiency: Comparing Single Tenant and Multi-Tenant Cloud Architectures
Tags: multicloud, ciamsolutions, identitymanagement, authentication
Published: 2023-06-28 13:20:25

## **Introduction**

Data security and privacy must be prioritized when evaluating architectures. Both single-tenant and multi-tenant architectures can provide robust security measures, but the approach and level of isolation may differ. Understanding the security implications of each architecture and assessing the provider's security protocols are paramount.

Ultimately, selecting the right SaaS application architecture requires a comprehensive understanding of your organization's business model, culture, requirements, and long-term objectives. By exploring the differences between **[single-tenant and multi-tenant architectures](https://www.loginradius.com/resource/single-tenant-vs-multi-tenant-ebook/)**, this eBook aims to equip you with the knowledge needed to make an informed decision that aligns with your unique needs and positions your business for success.

## **What is a Single-Tenant Cloud**

Single-tenant clouds offer better visibility and control over resource utilization. You can monitor and optimize resource allocation based on your specific needs, ensuring efficient utilization and cost management.

While a single-tenant cloud provides many benefits, it also requires dedicated IT resources for managing and maintaining the infrastructure. Consider whether your organization has the necessary expertise and capacity to handle the responsibilities associated with a single-tenant environment.

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

## **What is a Multi-Tenant Cloud**

Multi-tenant clouds provide a high level of reliability and availability. The shared infrastructure is designed with redundancy and failover mechanisms, ensuring that customer applications remain accessible and operational even in the face of hardware or software failures.

A multi-tenant cloud architecture offers the benefits of resource sharing, cost-effectiveness, scalability, and collaboration. It is well-suited for organizations seeking a balance between cost optimization and customization, enabling them to leverage shared resources while still maintaining control over their SaaS applications and data.

## **Difference Between Single-Tenant and Multi-Tenant Cloud Infrastructure**

Evaluate the compliance and regulatory requirements of your industry. Single-tenant architectures may provide more control over compliance measures, enabling organizations to meet specific regulatory standards. Multi-tenant architectures should provide transparent compliance certifications and adherence to relevant regulations.

## **Conclusion**

The selection of the right cloud architecture is a strategic decision that requires careful consideration. Understand your business model, culture, and objectives, and align them with the advantages and considerations of each architecture to make a choice that will drive your organization's success in the cloud era.
21 Facts About Coding/Programming You Should Know
Tags: coding, programming, webdev, developer
Published: 2023-06-28 13:11:56

Programming is a complex and fascinating field, and there are many interesting facts about it that you may not know. 

Here are 21 programming facts that will help you learn more about this amazing field:

1. The first computer programmer was a woman named Ada Lovelace, who wrote the world's first algorithm in the 1840s.
2. The term "bug" originated when a moth got trapped in a computer and caused a malfunction.
3. The average computer code consists of about 20 lines.
4. The world's first computer virus was created in 1983 and was called "Elk Cloner."
5. The concept of emojis originated in Japan and was initially designed to enhance communication between different mobile platforms.
6. The world's first website was published in 1991 by Tim Berners-Lee, the inventor of the World Wide Web.
7. The "Hello, World!" program is a traditional way to introduce beginners to coding and is often the first program they learn to write.
8. The Apollo 11 guidance computer, which landed humans on the moon, had less processing power than today's smartphones.
9. The original name of Python programming language was inspired by the British comedy group Monty Python.
10. The concept of open-source software encourages collaboration and allows anyone to view, modify, and distribute the source code.
11. The fastest supercomputer can perform over 200 quadrillion calculations per second.
12. The world's first computer programmer for hire was a woman named Charlotte "Lotte" D'Éon, who programmed the Analytical Engine.
13. The programming language C was developed by Dennis Ritchie in the 1970s and is widely used for system programming.
14. The most common programming language used for artificial intelligence and machine learning is Python.
15. The first computer game, "Spacewar!," was created in 1962 by Steve Russell.
16. The average salary of a software developer is higher than many other professions.
17. The concept of object-oriented programming (OOP) revolutionized software development by allowing for reusable and modular code.
18. The first computer mouse was invented in 1964 by Douglas Engelbart and was made of wood.
19. The world's first smartphone, IBM Simon, was introduced in 1994 and included features like a touchscreen, email, and fax capabilities.
20. The concept of virtual reality was first introduced in the 1960s.
21. The programming language Java was originally called Oak.

I hope you enjoyed these 21 programming facts! Learn more [exciting programming facts](https://thecompetenza.com/programming-facts/).
How to build microservices with Docker - BONUS!!
Tags: microservices, docker, nginx, tutorial
Published: 2023-06-28 13:01:42

## Hello there :wave:

This is probably the last part in microservices basics series, but certainly not the least. Today we're going to look at how we can scale up individual services and apply load balancing. This will give a major performance boost in high traffic scenarios and increase the up-time of our application.

Without further ado, let's dive in

## Spawning multiple containers

First things first, we have to create/spawn multiple containers of the service we want to apply load balancing to. Let's use the Products service for this experiment.

We can make changes to the `products` service definition in the `docker-compose.services.yml` file as follows

```yaml
products:
  extends:
    file: products/docker-compose.yml
    service: app
  env_file: .env
  scale: 3    # new option "scale" to tell docker-compose to spawn 3 containers for this service
```

And now, when we bring up the services using the command

```bash
docker-compose --file docker-compose.services.yml up
```

we see the logs indicating there are 3 container running for the products service.

![Logs showing multiple containers at startup](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9rcaq1oo58ry8wwex5u8.png)

Awesome!! we're already halfway there.

## Implementing Load Balancing

Remember when I talked about [defining server groups](https://dev.to/sainig/how-to-build-microservices-with-docker-the-orchestration-5d0f#:~:text=This%20is%20how%20we%20define%20a%20server%20group.) in the `nginx.conf` file. Well, so far we only had one server in the group, so calling it a group didn't make much sense.

But now that we have multiple containers running, in other words, multiple servers running, we can use the server group to its fullest.

```
upstream products {
  server microservices-shop_products_1:4000;
  server microservices-shop_products_2:4000;
  server microservices-shop_products_3:4000;
}
```

It is as simple as that! we have achieved load balancing among our 3 products service containers.

And, we have the logs to verify that

![Logs demonstrating load balancing in action](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v2fn8izjjyzbtyeitcjp.png)

These logs ☝️ are generated when we send multiple requests to any `/products` endpoint.

Since, we've only specified the names of the servers (container names and port numbers), the default algorithm used by Nginx is a Round Robin algorithm.

You can read more about the supported algorithms [here](https://www.nginx.com/faq/what-are-the-load-balancing-algorithms-supported/).

---

## Wanna see more

**Also, if you have any suggestions, improvements, or anything more in general that you'd like to see in this series, please add a comment. I'll try my best to include it here.**

---

## Wrap up

I hope you enjoyed this series and learnt something new.

Feel free to post any questions you have in the comments below.

Cheers!
The Future of Banking: How Fintech Is Transforming the Industry
Published: 2023-06-28 12:57:56


Fintech Innovations That Are Reshaping Banking
The banking industry is going through significant changes due to the rise of fintech companies. These companies are disrupting traditional banking models and reshaping the customer experience with innovative products and services, such as mobile payments and online lending. Established banks are partnering with or acquiring fintech firms and investing in new technologies to stay competitive. 
**The Rise of Fintech:** How Embedded Finance Is Disrupting Banking
Fintech companies are growing rapidly but still face challenges in competing with traditional banks, which have a larger share of assets and customer relationships. 
Collaboration between and fintech companies may be the best way forward, leveraging the strengths of both to create a more efficient and customer-centric financial system. 
The future of banking enabled by technology offers great potential to improve financial well-being and create a more inclusive financial system. Fintech innovations are transforming banking to be more digital, data-driven, and customer-centric, and traditional banks are trying to keep up by modernizing their business models.
 Fintech challenger banks are competing with traditional banks by offering-only services, specialized products, a seamless digital experience, and data-driven personalization.
Partnerships between traditional banks and fintech companies can be mutually beneficial, they can leverage each other's strengths to enhance the customer experience, improve digital offerings, reduce costs, and comply with regulations. 
While fintech companies pose a threat to traditional banks, it is more likely that they will force banks to adapt and improve their digital capabilities. The future of banking will involve open banking, digital-first products and services, hyper-personalization, and embedded finance partnerships. Traditional banks must adapt to stay relevant in the digital age or risk becoming obsolete. Embracing change and collaboration with fintech companies is key to thriving in the future of banking.
For customers, fintech innovations mean greater convenience, personalized services, and lower fees. The future of banking looks bright with increasing use of fintech and ongoing innovation.

Check the full blog here: https://techforceglobal.com/blog/the-future-of-banking-how-fintech-is-transforming-the-industry/
How to mask a dd/mm/yyyy date string in ClojureScript
Tags: clojure
Published: 2023-06-28 12:33:56

```clojure
(defn mask-date [date]
  (let [date (-> date
                 (clojure.string/replace #"/" "")
                 (clojure.string/replace #"^(\d{2})(\d{1,})$" "$1/$2")
                 (clojure.string/replace #"^([\d/]{0,5})(\d{0,})$" "$1/$2")
                 (.substring 0 10))]
    (if (.endsWith date "/")
      (.substring date 0 (- (count date) 1))
      date)))
```

This function can be used in a reactive app to mask the date value on the fly while typing.
Ruby Method of the Day: #count
Tags: ruby, count, rubymethodoftheday
Published: 2023-06-28 12:17:07

---
title: Ruby Method of the Day: #count
published: true
description: 
tags: ruby, count, rubymethodoftheday
---

Method `count` returns an integer count of the number of items in a collection that match a given criterion.

The method is available as:

- [Array#count](https://docs.ruby-lang.org/en/master/Array.html#method-i-count).
- [Range#count](https://docs.ruby-lang.org/en/master/Range.html#method-i-count).
- [String#count](https://docs.ruby-lang.org/en/master/String.html#method-i-count) (with a special implementation that is not discussed here).
- [Enumerable#count](https://docs.ruby-lang.org/en/master/Enumerable.html#method-i-count), which is [included or extended](https://docs.ruby-lang.org/en/master/Enumerable.html#module-Enumerable-label-Enumerable+in+Ruby+Classes) in a number of classes in the Ruby core and standard library.

There are three ways to call the method:

- With no argument and no block, returns the count of items in the collection:

```ruby
[0, 1, 2].count # => 3
[].count # => 0
```

- With argument `object`, returns the count of items `== object` in the collection:

```
[0, 1, 2, 0.0].count(0) # => 2
[0, 1, 2].count(3) # => 0
```

- With a block, calls the block with each item in the collection; returns the count of elements for which the block returns a truthy value:

```
[0, 1, 2, 3].count {|element| element > 1} # => 2
```

More methods at [#rubymethodoftheday](https://dev.to/t/rubymethodoftheday).
Wednesday Links - Edition 2023-06-28
Tags: java, jvm, graalvm, performance
Published: 2023-06-28 11:56:22

Exploring Java 21’s Intriguing Additions: Unveiling New Features (4 min)✨
https://foojay.io/today/exploring-java-21s-intriguing-additions-unveiling-new-features-part-1/

Optimizing Memory Utilization with Automated Heap Sizing in ZGC (3 min)📏
https://inside.java/2023/06/20/optimizing-memory-utilization-zgc/

invokedynamic in GraalVM native image: how is it possible? (6 min)🏆
https://medium.com/@nataliiadziubenko/invokedynamic-in-graalvm-native-image-how-is-it-possible-dd2fb6e58f4e

Fast machines, slow machines (14 min)🐢
https://jmmv.dev/2023/06/fast-machines-slow-machines.html
How to get started with open source contribution?
Tags: opensource, beginners, programming
Published: 2023-06-28 11:52:29

---
title: How to get started with open source contribution?
published: true
description: 
tags: opensource, beginners, programming
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-06-28 11:39 +0000
series: opensource
---

There are plenty of reasons to contribute to open source projects, but it can be confusing how to get started.

Trying to fix a bug or implement a feature is something like the Linux kernel or React might sound lucrative, but is also probably extremely difficult. Most of the issues there are probably quite difficult.

## Small projects

One way is to start is to find small projects, and "practice" on them. There you might be able to send a pull-request after a few minute or maybe a few hours of work.

## Non-code to a bigger project

The other direction is to go with the well-known project, but start with the help channel. Start looking at the question other people have and try to see if you can answer them.
Read the open issues and try to help with the new issues. There are many case where people open a bug-report which is a duplicate of an existing report. If you can help the maintainer filter out these issues that is already a huge help and in the meantime you start to learn about the project.

## Join the Open Source Development Community

I am trying to build a community of people who help each-other with the first steps contributing to open source project. You can read about the [community](https://osdc.code-maven.com/community) or you can go ahead and join [our Zulip server](https://osdc.zulipchat.com/).

It is a chat server similar to Slack or Discord, but it is fully open source.