teleren/devto huggingface dataset:
Community Builders – Christmas Edition
Tags: cbchristmas2022
Published: 2022-12-20 01:00:00

## What surprises you most about the community builders program?

The diversity of people in the group, in terms of where we come from, what we do, the age range, etc.

And also how we contribute to the community. While most of us write blog posts, some CBs make YouTube videos, make online courses, and even organize events.

## What’s your background and your experience with AWS?

I was a Software engineer writing web apps and mobiles apps. I first used AWS for creating backend servers for those apps.

I later found out there are many interesting services in AWS so I decided to learn and explore it. Now I have 7 AWS certificates and through out the journey as a Cloud Engineer and now a Security Engineer, I am always the go-to guy when someone have AWS-related questions.

## What’s the biggest benefit you see from the program?

I would say the atmosphere where everyone around you are sharing their expertise.

Inside such environment is always a motivation for me to do my best.

## What’s the next swag item that you would like to get?

A mascot figure which we can use when taking photos

(Imagine we're all posting photos in Twitter and Linkedin with the same figure inside. I'm pretty sure people will be curious and ask what's that)

## What are you eating for dinner today? Share the recipe!

I confess I'm not a foodie, so there is no secret recipe here.

But one thing I learned is that when you make instant noodle, don't eat with the water you used to cook the noodle. Instead, dump it and pour in another round of fresh boiled water, the taste would be better.

![My instant noodle lunch](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w6lm26liysfkisqrmigy.jpg)

## Is there anything else you would like to say about the community builders program in 2022?

Community Builders makes my re:Invent this year much more interesting and meaningful than I thought. My first time hiking in a desert, my first time being a speaker in AWS event, and most important, meeting so many awesome CBs in-person.
Quick bytes to integer (or other type) conversion in Python
Tags: python
Published: 2022-12-20 00:33:35

Sometimes you have a [bytes](https://docs.python.org/3/library/stdtypes.html#bytes) object but what you really want is an integer.

For example, I want the unsigned 32-bit integer represented by `b'1234'`. I can do the conversion with [`struct.unpack`](https://docs.python.org/3/library/struct.html#struct.unpack):

    >>> struct.unpack('I', b'1234')
    (875770417,)

or using the [`from_buffer`/`from_buffer_copy`](https://docs.python.org/3/library/ctypes.html#ctypes._CData.from_buffer_copy) functions of the `ctypes` module:

    >>> ctypes.c_uint32.from_buffer_copy(b'1234')
    c_uint(875770417)

This is usually used for compound types (also called composite data types, i.e. types that are defined in terms of primitive data types, like a C structure), but still useful for simple things like integers.
Sea surface currents derived from OSCAR
Tags: python, datascience, gis, tutorial
Published: 2022-12-20 00:25:23



![Sea surface currents derived from OSCAR](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pxfdjuwzbygeczw12oby.png)

```python
import xarray as xr
import numpy as np
import cartopy.crs as ccrs
import matplotlib.pyplot as plt

with xr.open_dataset('oscar_vel2020.nc.gz') as ds:
    print(ds)
    
    plt.figure(figsize=(18, 9))
    
    ax = plt.axes(projection=ccrs.PlateCarree()) # plate carrée projection

    dec = 10
    
    lon = ds.longitude.values[::dec]
    
    lon[lon > 180] = lon[lon > 180] - 360
    
    mymap = plt.streamplot(
        lon,
        ds.latitude.values[::dec],
        ds.u.values[0, 0, ::dec, ::dec],
        ds.v.values[0, 0, ::dec, ::dec],
        8,
        transform = ccrs.PlateCarree()
    )
    
    ax.coastlines()

    plt.title('Sea surface currents derived from OSCAR')
    
    plt.savefig("currents18x9.png", dpi=150)
    
    plt.show()
```

Lightly modified from ["How to plot Ocean Currents with Cartopy". Reply by Jody Klymak. Oct 20, 2019](https://stackoverflow.com/questions/58474640/how-to-plot-ocean-currents-with-cartopy)

[Ocean Surface Current Analyses Real-time (OSCAR)](https://www.esr.org/research/oscar/overview/)

[NASA Earth Science Data Systems (ESDS)](https://www.earthdata.nasa.gov/)
Painting and Proficiency With Your Tools
Tags: programming, painting
Published: 2022-12-20 20:40:55

---
title: Painting and Proficiency With Your Tools
published: true
date: 2022-12-20 00:00:00 UTC
tags: programming,painting
canonical_url: http://calebhearth.com/painting-and-proficiency
---

Painting models for board games is intricate work. It requires a strange mix of absolute focus and relative brainlessness as I engage in a collaboration across time with sculptors to bring small pieces of the world they’ve imagined to life. While I hold my brush by its ferrule and add miniscule highlights or glaze a surface for the fifty-fourth time, my left brain has plenty of time to draw parallels between painting and programming.

The primary tool in my painting, acrylic paint, is made by countless companies. The online retailer I often use lists at least half a dozen paint lines specialized for miniature and model painting. These lines range from a few dozen different colors to over a thousand “unique” paints. All are made up of some combination of the three primary colors in subtractive color spaces: red, yellow, and blue. Rather than learn all of these colors, I focus on a few paint colors as my tools for a task, and have developed a solid understanding of how to mix them to get shade and highlight paints as well as develop a color scheme. Understanding my tools in this way makes me more effective as a painter, just as expertise in few development tools makes me a better developer.

I recently gave similar advice to a software developer I mentor through a code bootcamp program: pick a web framework and pick a database. Learn them thoroughly, so that you can quickly think of a solution to a problem in terms of those tools. They may not always be the perfect tools, but as specialists instead of generalists we know how to mix red with a bit of orange or pink and glaze that over a basecoat rather than to spend time and money finding just the right pre-mixed shade among scores of options.

Learning to learn to use tools is also very important. When I’m painting a model, I don’t use only one or two paints. While you might look at something I’ve painted and see a main color and a few accents, I’ve probably used several colors for each area; often sharing one or more paint in the mixes so that different areas match. I need to experiment with these paints together on the palette to understand their interplay. Knowing how to do that didn’t come right away–in fact it was quite common when I started painting to pick three colors I liked and slap them on the model, shading them all with a thin black wash and calling it done. The more I learned to take advantage of warmer and cooler tones of a color, however, the more realistic I was able to make my models look.

Proficiency with a tool, whether it be a color, a brush, or a web framework, is gained through ongoing use. In a digital world where change is constant, it’s important to consider whether we want to be proficient at superficial use of many tools or to develop expertise in a few areas and use those skills broadly.
The Benefits of Pair Programming for Problem-Solving
Tags: programming, tips, productivity, beginners
Published: 2022-12-19 23:23:56

**Pair programming** is when two developers work together at one workstation. Not necessarily on the same computer, but they work together on the same programming task. In remote work I love to use [Visual Studio Live Share](https://visualstudio.microsoft.com/services/live-share/) ❤️.

This approach can have numerous benefits, such as increased efficiency and knowledge sharing, but in certain situations it may also have some disadvantages.

Let's explore the benefits and disadvantages of pair programming in more detail, and how it can help you with problem-solving.

## 👀 Increased Efficiency

Pair programming can significantly increase the efficiency with which a software development task is completed.

This is because two sets of eyes are better than one when it comes to spotting errors or finding better solutions.

The two individuals are able to bounce ideas off each other, come up with creative solutions, and quickly identify any mistakes that may have been made. This can save a lot of time and effort in the long run.

## ✅ Improved Quality of Work

Pair programming can also help to improve the quality of work produced.

This is because two people are able to review each other's work and offer constructive criticism.

This can help to identify any mistakes or areas of improvement, which can be addressed quickly and effectively.

## 📖 Knowledge sharing

Another advantage of pair programming is that it promotes knowledge sharing and learning.

By working with a partner, developers can learn from each other and expand their skills and expertise.

This is especially useful for junior developers who are learning the ropes, as they can get real-time feedback and guidance from more experienced team members.

But also...

## 😬 Disadvantages

One potential disadvantage is that it can be slower than working individually. When two people are working on a task together, there may be more discussion and collaboration involved, which can slow down the pace of work.

Another potential disadvantage is that pair programming may not work well for all personalities or work styles. Some people may find it difficult to work closely with another person for extended periods of time, and may prefer to work independently.

In conclusion, while pair programming can be a powerful tool for problem-solving, it may not be the best fit for every situation or team. It is important to carefully consider the pros and cons and determine whether it is a viable option for your specific needs.
An AWS Community Builders holiday story
Tags: cbchristmas2022, aws
Published: 2022-12-19 23:00:00

A holiday story of AWS Community Builders, this is the Pubudu Jayawardana's edition, check out the other posts from my fellow AWS Community Builders on why they love the program and learn more about them too!

## What surprises you most about the community builders program?

Everyone here is super nice and very helpful. There are builders from different backgrounds, knowledge levels and roles, and everyone is willing to share their knowledge and help each other at their best.

Find out more about the AWS CB program here: https://aws.amazon.com/developer/community/community-builders/

## What’s your background and your experience with AWS?

I am a developer and a devops person. I have experience in developing and managing production workloads in AWS, specially in Serverless.

## What’s the biggest benefit you see from the program?

Biggest benefit is to get to know the people. I have got friends all over the world thanks to this program. Also, I got opportunities to speak in events, write more and more blog posts, learn more and share knowledge as this program encourages them a lot.

## What’s the next swag item that you would like to get?

AWS Community Builder sneakers 😉 

## What are you eating for dinner today? Share the recipe!

As a Sri Lankan (although I have lived long enough in the Netherlands), rice is one of the favorite dishes I love to have. My preference is a fried rice that can prepare easily similar to this: https://foodvoyageur.com/chicken-fried-rice

## Is there anything else you would like to say about the community builders program in 2022?

So far, AWS Community Builders program has given me a lot of opportunities to improve not only my technical knowledge in AWS, but soft skills too. This definitely helped me personally to give back more to the community.

Thanks a lot Jason Dunn - the AWS CB Program Manager and all of the management team (sorry, it will be a long list if I add them all here 😉) who are dedicated to make this community better and better every day!

Looking forward to an AWSome 2023 ahead.
An AWS Community Builders Xmas story
Tags: awscommunity, aws, cloud, cbchristmas2022
Published: 2022-12-19 23:00:00


A Xmas story of cloud builders, it's the Vadym Kazulkin edition, check out the other posts from my fellow AWS Community Builders on why they love the program and learn more about them too!

## What surprises you most about the community builders program? 

The passion of people sharing their AWS knowledge in all different areas and willingness to help each other.

## What’s your background and your experience with AWS?

I've spent the last 6 years at my company [iplabs](https://www.iplabs.com/) migrating applications from the data center into AWS cloud and then modernizing them. Now we have kind of mixture of the classic infrastructural stack (EC2), Containers and Serverless. I have two passions : Java programming language and Serverless and love to talk about those (sometimes in combination).

## What’s the biggest benefit you see from the program?

The biggest benefit for me is to share my knowlegde and get to know and learn from other AWS Community Builders much smarter than me.

## What’s the next swag item that you would like to get?

AWS branded Tshirt with the autograph of Werner Vogels or Jeff Barr (or both) would be very nice :)

## What are you eating for dinner today? Share the recipe!

I was eating Pelmeni, but they were prefabricated :). If you'd like to make them yourselves, hier is [how](https://momsdish.com/recipe/76/pelmeni).

## Is there anything else you would like to say about the community builders program in 2022?

I'm extremely thankful for being the part of the program since the beginning and being accepted for the 3rd year. Huge thanks goes to the program leaders: Jason, Lily, Ernesto, Shafraz and others who made and are still making this programm very special and help the AWS Community Builder to meet each other, learn from each otherand grow together.

Looking forward to an AWSome 2023 ahead.
Print in Python 2
Tags: print, python2, printpython2, python
Published: 2022-12-19 22:50:51


Print in Python 2 is a very simple task that can be accomplished using the print statement. The print statement is a function that takes a string or a list of strings as an argument and prints them to the standard output, which is usually the console.
Read more at:
https://hecodesit.com/print-in-python-2/
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ah5hj7938eq3grhpxjh4.jpg)
What are Operators in C
Published: 2022-12-19 22:34:56

What are Operators in C
December 19, 2022 by admin
Operators in C are special symbols that perform specific operations on one, two, or three operands and produce a result. These operations can include arithmetic, logical, bitwise, assignment, and more. In this post, we’ll take a closer look at the different types of operators in C and how they are used in programming.

What are Operators in C


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hku3k4bzjzia83rxhw6e.jpg)
Arithmetic Operators
Arithmetic operators are used to perform basic mathematical operations, such as addition, subtraction, multiplication, and division. These operators are commonly used in C programs to perform calculations and assign values to variables.

Here are some examples of arithmetic operators in C:

+: used to add two operands. For example, 5 + 3 would result in 8.
-: used to subtract one operand from another. For example, 5 - 3 would result in 2.
*: used to multiply two operands. For example, 5 * 3 would result in 15.
/: used to divide one operand by another. For example, 6 / 2 would result in 3.
%: used to find the remainder of a division operation. For example, 7 % 3 would result in 1.
Assignment Operators
Assignment operators are used to assign a value to a variable. The most common assignment operator in C is the equal sign (=). This operator is used to assign a value to a variable, like this:

int x = 5

In this example, the assignment operator = is used to assign the value 5 to the variable x.

There are also compound assignment operators in C, which are used to perform an operation and assign the result to a variable in a single statement. These operators include:

+=: used to add a value to a variable and assign the result to the variable. For example, x += 3 would add 3 to x and assign the result to x.
-=: used to subtract a value from a variable and assign the result to the variable. For example, x -= 3 would subtract 3 from x and assign the result to x.
*=: used to multiply a value by a variable and assign the result to the variable. For example, x *= 3 would multiply x by 3 and assign the result to x.
/=: used to divide a variable by a value and assign the result to the variable. For example, x /= 3 would divide x by 3 and assign the result to x.
Comparison Operators
Comparison operators are used to compare two values and determine if they are equal, greater than, or less than each other. These operators are commonly used in C to control the flow of a program using conditional statements.

Here are some examples of comparison operators in C:

==: used to determine if two values are equal. For example, 5 == 5 would evaluate to true, while 5 == 3 would evaluate to false.
!=: used to determine if two values are not equal. For example, 5 != 5 would evaluate to false, while 5 != 3 would evaluate to true.
><: used to determine if one value is greater than another. For example, 5 > 6 would evaluate to false, while 5 < 6 would evaluate to true.


READ MORE


at : 
https://hecodesit.com/what-are-operators-in-c/
How to make a POST request in JavaScript
Published: 2022-12-19 22:29:11

To make an HTTP POST request in JavaScript, we can use the XMLHttpRequest object or the fetch() function.

Here is an example of using XMLHttpRequest to make a POST request:

`function postData(url, data) {
  // Create a new XMLHttpRequest object
  var xhr = new XMLHttpRequest();

  // Set the HTTP method to POST, the URL to the provided URL, and set the async flag to true
  xhr.open("POST", url, true);

  // Set the request header
  xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");

  // Send the request
  xhr.send(data);
}`

You can call this function like this:
`postData("http://example.com/api/create_user", "name=Lennon&email=lennon@example.com");
Here is an example of using fetch() to make a POST request:

fetch('http://example.com/api/create_user', {
  method: 'POST',
  body: JSON.stringify({name: 'Lennon', email: 'lennon@example.com'}),
  headers: {
    'Content-Type': 'application/json'
  }
}).then(response => response.json())
  .then(data => console.log(data))
`
The fetch() function returns a Promise that resolves to a Response object. You can use the .json() method of the Response object to parse the response as JSON.

Note that both of these examples assume that the server you are making the request to will accept and process POST requests and will return a response in a format that you can handle (e.g. JSON). You will need to modify the examples to fit the specific requirements of your server and your application.
🚀 10 Padrões de Commit para Alavancar o Seu GitHub! 🚀
Tags: github, git, commit, repo
Published: 2022-12-19 22:23:11

Deixe o seu GitHub superprofissional com esses 10 Commit Patterns e nunca mais se confunda no histórico de commits em um projeto de software.

Slides ultraobjetivos com os 10 padrões mais usados na programação.

![10 Padrões de Commit](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ip24zpsyq3htxamkrpkp.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ci50kbpfjs3ms23xb7e8.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vvt7vk1126wysgvbuufj.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pab1od9uixqdxrip4kka.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/587u5esofqvguceiyf39.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rcg7ul454obugv0n0ok2.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k0ahqsn4r9xif6vox2qe.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/peck2blgmekvai4c023x.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f6vl1jqzggii5f0k8bej.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/423l8zrtpdbuw4n303o4.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uefrmloz45q81pcudbv0.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4r95jt1c4yhrhna10yj6.png)
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5gu66xpl0fh92p3dplnt.png)

Para saber mais, acesse os links abaixo:
- Commit Guidelines by Angular: https://lnkd.in/ddEJamde
- Padrões de Commits by Iuricode: https://lnkd.in/dWRyKrt9
- CommitLint by conventional-changelog: https://lnkd.in/dfsVScp3
- Conventional Commits Official Website: https://lnkd.in/dpebtSq3
- Artigo Conventional Commits Pattern by Victor Ribeiro: https://lnkd.in/d9-i_xxk
- Artigo Pattern for writing better git commit messages by Helder B. Berto: https://lnkd.in/d3vpzUts
Elevri - The new way of learning university maths
Tags: edtech, maths
Published: 2022-12-19 21:41:31

Elevri inspires, structures, and makes math fun again. We are an app for learning university maths. Learn linear algebra, calculus I, and calculus II faster and more in-depth, and get inspired by generations of mathematicians and engineers.

Elevri helps you succeed. Some use our app as supplementary material for their studies. Others use only Elevri. Learn math for life!

[https://www.elevri.com](https://www.elevri.com)
Day 19: CI for Plack-Middleware-LogAny
Tags: perl, programming, ci
Published: 2022-12-19 21:11:00

---
title: Day 19: CI for Plack-Middleware-LogAny
published: true
description: Simple CI, but at least this works
tags: perl, programming, ci
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
published_at: 2022-12-19 21:11 +0000
canonical_url: https://code-maven.com/ci-for-plack-middleware-logany
series: ci-2022-12
---

Today I spent about 3-4 hours on various other projects. Managed to make good progress on some really interesting ones, but could not finish the CI for either one of them. I opened GitHub Issues reporting the problems, but I still could not get either of them done.

Finally I found this Perl module called [Plack-Middleware-LogAny](https://metacpan.org/dist/Plack-Middleware-LogAny).


I copied the CI file from [Plack-Middleware-Greylist](https://metacpan.org/dist/Plack-Middleware-Greylist) that I created on [day 9](https://code-maven.com/ci-for-two-perl-projects).

The only difference is that this one passes on Windows as well.

I sent the [Pull-request](https://github.com/XSven/Plack-Middleware-LogAny/pull/1)

## Conclusion

It's better to start earlier working my CI.
Command ValidateEmbeddedBinary failed with a nonzero exit code
Published: 2022-12-19 20:37:25

https://github.com/OneSignal/react-native-onesignal/issues/1464

I have a react native app. I integrated one signal into android and ios separately.
There is no problem in android side.
After i am setting ios sdk, i am getting error while get archive for testfligt.
Error text ==>
.) Validate OneSignalNotificationExtension.appex
..) Command ValidateEmbeddedBinary failed with a nonzero exit code.
Before installing OneSignalNotificationExtension, I was able to get archive successfully. I think the problem is inside OneSignalNotificationExtension.
I put the error screenshot below.
I am use m1 macbook air and my ios version 11.0.
I need help urgently, thank you.