teleren/devto huggingface dataset:
Mock Service Dependencies in K8s Clusters, No K8s Experience Required
Tags: vscode, kubernetes, javascript, testing
Published: 2023-06-20 18:13:17

Hi I’m Mia, a product manager at [Skyramp](http://www.skyramp.dev). We’re building products that put the power of cloud-native infrastructure, integration, and performance testing into the hands of developers.

Today I’m excited to announce the availability of the first of our Kubernetes testing tools, Mocker. It’s available right now in our [Kubernetes Testing Toolkit VS Code extension](https://marketplace.visualstudio.com/items?itemName=skyramp.mocker-vscode). Mocker delivers powerful in-cluster gRPC and REST mocking for devs, with little to no Kubernetes experience required. It simplifies mocking service dependencies within clusters, streamlining even complex mocking scenarios.

Every feature is designed for **developer ease** and **testing Kubernetes apps**:

**Automated In-Cluster Mocking**: No more tedious networking configurations. Mocker simplifies in-cluster mocking, providing secure and hassle-free mocking capabilities.

**Live-to-Mock Switching**: Seamlessly switch between live and mock services with just a configuration change. Mocker enables you to quickly adapt your environment to different testing scenarios.

**gRPC Proxy**: For gRPC services, Mocker acts as a proxy that allows you to selectively mock a subset of the methods in an endpoint, while directing others to the live service in your cluster.

**Turnkey Mock Values**: Mocker auto generates ready-to-edit mock values. Coming soon: AI-generated mock values tailored to your API definitions.

**Mocks Built Your Way**: Build with Mocker using either the VS Code extension or the command-line.

**Complex Mocks Made Simple**: Use the JavaScript runtime to effortlessly create dynamic, intricate mock behaviors.

**Protocol Support**: Enjoy unparalleled support for gRPC and REST, with expanded protocol support coming soon (Thrift and others).

If you have any feedback or requests, please let me know by replying here or at support@skyramp.dev.

We are adding more features continually, as well as new Kubernetes testing tools to accompany Mocker, including:

* a JS library to create complex in-cluster mocks 
* Tester, Mocker’s powerful test client partner

[Sign up here](https://www.skyramp.dev) to get notified of important new Skyramp launches and announcements.

Thanks,

Mia
UTM una alternativa para virtualizar en M1
Tags: virtualmachine, beginners, spanish
Published: 2023-06-20 18:02:30

Si tienes una Apple Macbook con procesador M1 y necesitas virtualizar en tu computadora este articulo es precisamente para ti.
Hace un año atrás estaba buscando una alternativa a VirtualBox ya que estaba haciendo un curso de servidores en Linux, y era necesario tener instalado las MV con Ubuntu Server y CentOS para tener una mejor inmersión en el tema e ir a la par del mismo curso. Para esto descubrí que en ese momento solo tenia como alternativa una aplicación de pago llamada Parallels, la instale y la probé pero sinceramente no se me hace muy intuitiva y cuando instale un Windows se hizo un relajo porque automáticamente configuro muchas cosas como por ejemplo volúmenes entre mi maquina virtual y el host que si son útiles pero no quería ese tipo de libertad para la maquina virtual. En cuanto a las maquinas con SO de servidores iban bien pero se termino la fecha de prueba y ya no compre la licencia.
Hasta hace casi dos días encontré una aplicación que se llama UTM y esta libre para MV y va de maravilla, la verdad es que me sorprendió y pude instalar RHEL para una serie de mini cursos a las cuales me apunte. No hay texto alternativo para esta imagen
El desempeño es muy bueno y tiene mucha inspiración de lo que es VirtualBox, por ello la configuración y puesta en marcha de las MV es muy sencillo y cómodo, dándome a mi el poder de la configuración, justo como a mi me gusta.


![Pagina de UTM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/chrx4a74rk5mvv9z12mh.png)

Un detalle menor es que las imágenes ISO que necesitas deben de ser tipo ARM para que no haya problema, de ahí en fuera puedes descargarlo desde tu página de internet a través del siguiente [link](https://mac.getutm.app/). O también directamente desde la Apple store [acá](https://apps.apple.com/us/app/utm-virtual-machines/id1538878817).

Si este articulo te gusto o aprendiste algo nuevo, te agradecería que lo compartieras para que llegue a mas personas. Gracias.
Varbinary sqlserver
Published: 2023-06-20 17:58:19

I have some images stored in sql server type varbinary, I read them normally in android studio with the code below:
byte decodedByte1 = Base64.decode(question.figure1, 0);
Bitmap Image1 = BitmapFactory.decodeByteArray(decodedByte1, 0, decodedByte1.length);
holder.figure1.setImageBitmap(Image1);
I’m migrating to react native and searches on the internet point to use: source={{ uri: data:image/png;base64,${item.figura1}, the images have several different sizes, there is no width and height for each one, how do I read these images?
How does SecOps work with DevOps?
Tags: secops, devsecops, devops, cybersecurity
Published: 2023-06-20 17:58:01

The level of competition driven by digital disruption is intense. Coping with the demand for application delivery life cycles measured in seconds — with shrinking resources and increased complexity — requires a new approach. To compete today, leaders are automating application delivery to operationalize their competitive advantage.

Using a DevOps approach, companies can deliver applications faster, at a higher level of quality, and at a lower cost. In fact, a study by McKinsey found that companies that embrace an agile DevOps approach to development, testing, and operations see an 83 percent improvement in time to market, 90 percent faster updates to servers, and a near 50 percent reduction in handoffs per process.

As organizations “shift left” (test early and often in the software development life cycle process) to improve agility, this naturally creates new challenges and exposes different bottlenecks in their DevOps processes. For example, compliance and security remains a manual, ad‐hoc activity at the end of a release, which forces tough decisions about risk acceptance versus costly late code fixes. Furthermore, cloud adoption and containerization introduce mode‐two (new and innovative) resources into these processes that create real security and compliance gaps that most organizations haven’t considered. Without a comprehensive compliance strategy that addresses these issues, organizations will eventually fall behind competitors and increase their risk of data breaches and ransomware.

SecOps helps organizations gain a competitive advantage by increasing agility, while closing security and compliance gaps associated with the latest cloud and container technologies. A comprehensive SecOps program provides a unified view of compliance data collected across data center, cloud, and container resources that is analyzed against flexible predefined policies. Compliance checks can also be embedded directly in DevOps pipelines for instant feedback regarding go and no‐go decisions in the process.
Criando gráficos no Python com Matplotlib
Tags: python, tutorial, beginners, datascience
Published: 2023-06-20 17:26:41

Saudações, Cientistas de Dados!

Python oferece várias bibliotecas poderosas para criar visualizações de dados. Neste tutorial, vamos explorar como usar a biblioteca Matplotlib para criar gráficos de colunas, barras, linhas, dispersão e mapa. Vamos começar!

**Instalação:**

Instale a biblioteca Matplotlib. Execute o seguinte comando no seu notebook:

```
!pip install matplotlib
import matplotlib.pyplot as plt
```

Se estiver utilizando o Google Colab, rode também esses comandos:

```
!pip install --upgrade geopandas
!pip install mapclassify
```

**Gráficos de Colunas:**

Os gráficos de colunas são úteis para representar dados discretos. Veja um exemplo básico:

```
x = ['A', 'B', 'C', 'D']
y = [10, 7, 5, 8]

plt.bar(x, y)
plt.xlabel('Categorias')
plt.ylabel('Valores')
plt.title('Gráfico de Colunas')
plt.show()
```

**Gráficos de Barras:**

Os gráficos de barras são úteis para comparar diferentes categorias de dados.

```
x = ['A', 'B', 'C', 'D']
y = [10, 7, 5, 8]

plt.barh(x, y)
plt.xlabel('Valores')
plt.ylabel('Categorias')
plt.title('Gráfico de Barras')
plt.show()
```

**Gráfico de Linha:**

Os gráficos de linha são úteis para mostrar a tendência de uma variável ao longo do tempo.

```
x = [1, 2, 3, 4, 5]
y = [5, 7, 3, 8, 4]

plt.plot(x, y)
plt.xlabel('Tempo')
plt.ylabel('Valores')
plt.title('Gráfico de Linha')
plt.show()
```

**Gráficos de Dispersão:**

Os gráficos de dispersão são úteis para visualizar a relação entre duas variáveis contínuas.

```
x = [1, 2, 3, 4, 5]
y = [5, 7, 3, 8, 4]

plt.scatter(x, y)
plt.xlabel('Variável X')
plt.ylabel('Variável Y')
plt.title('Gráfico de Dispersão')
plt.show()
```

**Gráficos de Mapa:**

Os gráficos de mapa são úteis para representar dados geográficos.

```
import geopandas as gpd

world = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))
world.plot()

plt.title('Gráfico de Mapa')
plt.show()
```

**Conclusão:**

Neste tutorial, você aprendeu como criar gráficos no Python usando a biblioteca Matplotlib. Esses exemplos básicos fornecem uma base sólida para você começar a explorar visualizações de dados mais complexas. Divirta-se explorando e aprimorando suas habilidades!
Provisioning SAP Infrastructure in AWS
Tags: sap, aws, terraform, github
Published: 2023-06-20 17:17:20

Posting for the first time....
From our experience, we have learned that provisioning resources in AWS or similar public clouds is a straightforward process. However, issues arise when engineers forget to remove previously provisioned resources. This becomes particularly costly when architects are working on provisioning SAP workloads.
To address this challenge, I have created a Terraform repository that can provision essential SAP infrastructure. Community members are welcome to fine-tune it according to their specific needs. The ultimate goal is to reduce costs by promptly terminating any resources that are no longer required in the cloud. Your feedback and suggestions for improvement are highly appreciated.
[Link-to-repo](https://github.com/smustafa75/sap-infra)
Getting Started with Apache AGE
Published: 2023-06-20 17:04:12

To start using Apache AGE, you need to have PostgreSQL installed on your system. Once you have PostgreSQL up and running, you can install the Apache AGE extension using the following command:

bash
CREATE EXTENSION age;
LOAD 'age';
SET search_path = ag_catalog, "$user", public;


## Creating a Graph

With Apache AGE installed, you can now create a graph. Here's an example of how to create a simple graph:

sql
INSERT INTO vertices /* vertex table */
    (id, properties)
VALUES
    (1, '{"name": "Alice"}'::jsonb),
    (2, '{"name": "Bob"}'::jsonb);

INSERT INTO edges /* edge table */
    (id, start_id, end_id, properties)
VALUES
    (100, 1, 2, '{"relationship": "friend"}'::jsonb);


## Querying the Graph

Apache AGE uses the openCypher query language, which is a declarative graph query language that allows for expressive and efficient querying and updating of the graph store. Here's an example of a simple query:

sql
MATCH (a)-[r]->(b)
WHERE a.name = 'Alice'
RETURN b.name;


This query returns the names of all vertices that are connected to the vertex with the name 'Alice'.

## Conclusion

Apache AGE is a powerful tool that brings the power of graph databases to PostgreSQL. It's a great choice for applications that need to handle complex, interconnected data. As a growth hacker, leveraging such tools can provide valuable insights into user behavior, network dynamics, and more, helping you to optimize your strategies and drive growth.

Remember, the key to successful growth hacking is to experiment, analyze, and adapt. Don't be afraid to try new tools and techniques, and always keep an eye on your metrics to measure your success.

Stay tuned for more posts on leveraging technology for growth hacking. Until then, keep exploring and innovating!

#ApacheAGE #GraphDatabase #PostgreSQL #GrowthHacking
Title: Who are the top global content references for development?
Tags: development, inspiration, devcomunity, resourses
Published: 2023-06-20 16:48:44

Hello, DEV community! I'm on a quest for constant inspiration and knowledge in the field of development. I want to discover who the top global references are when it comes to content about development.

As developers, we are fortunate to have a vast array of online resources at our fingertips. From blogs and tutorials to podcasts and YouTube channels, there are countless individuals and organizations sharing valuable insights and expertise. But who are the true thought leaders and go-to sources in the industry?

I invite you to share your thoughts and recommendations. Who do you consider to be the top global content references for development? Which blogs, podcasts, YouTube channels, or other platforms consistently provide high-quality and insightful content? Who inspires you and helps you stay up-to-date with the latest trends and technologies?

Whether it's seasoned developers, influential bloggers, popular YouTubers, or even lesser-known hidden gems, let's create a comprehensive list of the best resources out there. Together, we can compile a collection of go-to references that will benefit developers at all levels of expertise.

Please leave a comment below with your suggestions and include a brief description of why you find them valuable. Feel free to mention as many references as you like!

I'm excited to see the diverse range of recommendations and discover new sources of knowledge. Let's build a valuable resource list together!
Medusa Recap: Product Module, Admin Extensibility, Omnichannel features and more
Tags: opensource, node, nextjs, webdev
Published: 2023-06-20 16:47:11

Today, we are kicking off our June edition of our [**Medusa Recap**](https://medusajs.com/recap/). This week is dedicated to showcasing the features we have built in the past ten weeks. You can get an overview of everything we have shipped in our latest Tweet!

## [❤️ our Tweet](https://twitter.com/intent/like?tweet_id=1671181706970255361)

{% twitter 1671181706970255361 %} 

Every feature in our Recap will be highlighted in the coming days with in-depth articles and demos so you can try them out yourself. If you want to stay in the loop, sign up for our daily deep dives via **[this link](https://medusajs.com/recap-signup/)**.

Below is a short summary of some of the key features we have shipped and that we will dive deeper into over the next days.

---

## Product Module
With the beta release of our Product Module, we are bringing our building blocks closer to frontend frameworks and serverless environments. 

![Product Module](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eg0dh363x16osgkxuqgd.gif)



The Product Module enables you to access Products, Variants, Categories, and more through a standalone package that can be installed and run in Next.js functions and other Node.js compatible runtimes to give you access to your product data with full control.

![Product Module 2](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t8cu7n3rka10v732yvrw.png)


## Admin Extensions
Admin Extensions enable customizations to the [Medusa Admin](https://docs.medusajs.com/admin/quickstart), making it easy to build powerful merchant experiences without compromising the maintainability of your system.

Extensions come in two forms: Widgets and UI Routes. Widgets allow you to add custom React components to existing Admin pages to enrich information about Orders, Products, etc., while UI Routes give you a full canvas to build customizations without constraints on creativity.


![Admin Analytic](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cvu3swb4mn61jaxv0stp.gif)


## Reservation Management
Our improved Reservation Management gives you full control of your inventory, including an overview of all allocated stock and advanced filters.  

The additions to Reservation Management also further strengthen our inventory tooling with a new powerful primitive to enable more omnichannel experiences.

![Reservation filters](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vk9gnfn5so2575jnjwm4.gif)

Stay tuned for more feature highlights in the coming days and make sure to check out the full details on our [Recap page](https://medusajs.com/recap/).
We Development and SEO
Tags: webdev, seo
Published: 2023-06-20 16:28:56

Initially i used to think the so called SEO is a f4ke thing when was just starting i remember in the year 2015.As days pass by that was in 2019 i started to see how best i could learn SEO. The YouTube videos helped a lot but also reading a lot from the experts in SEO. According to my little experience so far a well developed website with responsive characters tends to get liked by many visitor. However the beauty of the website has a significance in ranking but the major thing in SEO is keyword research not forgetting the quality of content you write. Yeah those things have really helped me know the game of content writing and presentation (Marketing through Search engines). You may want to compete with the big fishes in keywords, but make sure you pick the ones having good search volume but not competitive, also long tailing is powerful. You can recommend a good practice for the [STDs](www.pamulomo.com) website to rank better and make people like it. I will really appreciate learning is a continuous process
WSL 2.0 - Linux On Windows 10
Tags: wsl2, windows10, linux
Published: 2023-06-20 15:09:39

---
title: WSL 2.0 - Linux On Windows 10
published: true
description: simple steps to getting you started with Linux on Windows
tags: wsl2, windows10, linux
cover_image: "https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y4z4s37djr3iuy7z8lk6.jpeg"
# Use a ratio of 100:42 for best results.
# published_at: 2023-06-20 15:02 +0000
---

---

Have kept this article simple and to the point , please share you feedback and love &lt;3

> Run all commands in Windows PowerShell with admin rights

* Enabling the Virtual Machine Platform
    

```powershell
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
```

* Enabling the Windows Subsystem for Linux
    

```powershell
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
```

* Restart the machine even if it was mentioned /norestart
    
* After restart reopen powershell with admin rights
    
* Set default WSL version to 2.0
    

```powershell
wsl --set-default-version 2
```

* It will give you upgrade message like this
    

```plaintext
WSL 2 requires an update to its kernel component. For information please visit https://aka.ms/wsl2kernel
For information on key differences with WSL 2 please visit https://aka.ms/wsl2
```

* Download the standalone update from this [**site**](https://docs.microsoft.com/en-us/windows/wsl/install-win10#step-4---download-the-linux-kernel-update-package)
    
* Install the update by double click
    
* Search for **Ubuntu 20 LTS** from app store
    
* After installation you should be able to see ubuntu in the start menu
    
* Clicking it will open a bash shell
    
* All your windows drives will be under **/mnt/**
    
* Search for **Windows Terminal** from app store for better terminal experience
    
* Upgrade your shell to ZSH (not mandatory but just for the love of ZSH)
    

```bash
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```
Remote SSH Server Ubuntu with Terminal Command
Tags: remote, server, ssh
Published: 2023-06-20 16:20:58

Ketikkan command dibawah ini untuk remote server VM ubuntu

```
~$ ssh servex@192.168.179.32
```
Berikut setelah berhasil akses ke server tujuan

```
$ ssh servex@192.168.170.23                                                                               ‹ruby-2.7.6›
servex@192.168.170.23's password: 
Welcome to Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-75-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Tue Jun 20 04:20:22 PM UTC 2023

  System load:  0.2255859375      Processes:               106
  Usage of /:   58.9% of 8.02GB   Users logged in:         0
  Memory usage: 10%               IPv4 address for enp0s3: 192.168.170.23
  Swap usage:   0%


Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status

Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings


Last login: Tue Jun 20 16:01:35 2023 from 192.168.170.181
servex@aspsptyd:~$ 
```
Done

Sumber : https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-22-04
Streamline Salesforce Integration with Postman: A Step-by-Step Guide
Tags: salesforce, postman, api, development
Published: 2023-06-20 16:17:42

Are you looking to enhance your Salesforce integration process and streamline your workflow? Look no further! In our latest YouTube video tutorial, we dive into the world of Postman and demonstrate how it can revolutionize your Salesforce integration efforts. In this blog post, we'll provide you with an overview of the video and why you should check it out.

---



In today's fast-paced digital landscape, seamless integration with Salesforce is crucial for businesses of all sizes. However, getting started with Salesforce APIs can sometimes be daunting, especially for beginners. That's where Postman comes in. It's a powerful collaboration platform for API development that can make your integration journey easier and more efficient.

In our YouTube video, **"Setting Up Postman for Salesforce Integration: Streamline Your Workflow**" we guide you through the process of leveraging Postman to simplify Salesforce integration. Here's what you can expect from the video:

- _Downloading and Setting Up Postman:_ We walk you through the steps to download and set up Postman on your machine. Whether you're using the desktop application or the web version, we provide clear instructions to help you get started.

- _Setting Up the Salesforce API Collection:_ Learn how to create a new collection in Postman specifically for Salesforce API requests. We cover essential aspects such as customizing request settings, specifying endpoints, headers, and parameters. Organize your requests within folders to keep your integration project well-structured and easily accessible.

- _Authenticating and Using the Salesforce API:_ Discover how to authenticate your requests and make API calls to interact with Salesforce. We share real-world examples and best practices to help you unleash the full potential of Salesforce integration using Postman.

_Conclusion:_
If you're looking to simplify your Salesforce integration workflow and harness the power of Postman, this video is a must-watch. Follow along as we guide you step-by-step through the process, ensuring you gain the necessary skills to streamline your integration efforts.

Don't miss out on the opportunity to supercharge your Salesforce integration. Watch our YouTube video, "Setting Up Postman for Salesforce Integration: Streamline Your Workflow" today: 

{% embed
https://youtu.be/klRU2-4dZz4 %}

Remember to subscribe to our channel for more Salesforce tips, tutorials, and best practices that will take your integration skills to new heights.