teleren/devto huggingface dataset:
AWS Security Group
Tags: aws, security, firewall
Published: 2022-12-07 14:25:57

O fundamental e sonhecido, gruopo de segurança, atua como uma especíe de firewall, onde através de regras de entrada e saída, você controla o permissionamento de acesso(restringindo por IP específico ou até mesmo pelo o seu ip.) à sua instância. EX: Ao criar a sua instância EC2 na AWS,vocé necessita liberar o acesso ssh, através da regra de entrada,para o reste também libera a de saída, na opção 'Source'(Fonte) seleciona o IP desejado e após a execução, o acesso via SSH, utilizando a porta 22 está devidamente liberado.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y9akaoav0txrc22s0lo0.png)
NASA Project with Python
Tags: python, tutorial, programming, beginners
Published: 2022-12-07 14:23:49

Python , an interpreted high-level general-purpose programming language that was created in 1991 by Guido Van Rossum.

Python is dynamically-typed language .. it supports multiple programming paradigms, including structured (particularly, procedural), object-oriented and functional programming.

In this quick tutorial, you will learn how to track the International Space Station in real time using NASA API with only Python code.

This is the video if you want to watch:

{%youtube s-5q3tdzte4%}

So if we're going to talk about the International Space Station (ISS) which is something most of us consider as a worthy example of what can happen when we work together .. and NASA among other agencies uses a wealth of python code on board ISS in order to help automate your teens .. so if you're considering a career in space then learning python is a must-have
skill

In this Python project, you will display the number of astronauts on board in real time, you will also update the station's current latitude and longitude every 5 seconds while also displaying your current position on the world map.

Thank you for reading (and maybe watching), and I will see you in a new Video-Tutorial post 🙂

Some Useful links:
NASA : https://www.nasa.gov
Astronauts API : http://api.open-notify.org/astros.json
Lon/Lat API : http://api.open-notify.org/iss-now.json
Online GIF Converter: https://ezgif.com/video-to-gif
Asking for help correcting a Smart Contract in order to verify it
Tags: solidit, web3, challenge
Published: 2022-12-07 14:05:00

Hello All,

I am in process of cloning an existing smart contract and make it my own.
I can deploy it successfully and write to the contract through remix.
However, I permanently fail to successfully verify my own adjusted contract on chain.

https://github.com/Crypt0Safety/BabySushi-Token/blob/main/BabySushi.sol

What I noticed after was that there was no “pragma solidity ^0.6.12;” before “contract BABYSUSHI is ERC20, Ownable {”, and the last “pragma solidity ^0.6.2;” was before “library IterableMapping {”.
And I see that the reason why it was detected as contract “IterableMapping”, and not as “BABYSUSHI”.
Since I changed/adjusted that I fail to verify the contract with:

**Compiler debug log:**
Error! Unable to generate Contract ByteCode and ABI **(Expected library(ies) but one or more was not provided)**
Found the following ContractName(s) in source code : **BABYSUSHI**, **BABYSUSHIDividendTracker**, **Context**, **DividendPayingToken**, **DividendPayingTokenInterface**, **DividendPayingTokenOptionalInterface**, **ERC20**, **IERC20**, **IERC20Metadata**, **IUniswapV2Factory**, **IUniswapV2Pair**, **IUniswapV2Router01**, **IUniswapV2Router02**, **IterableMapping**, **Ownable**, **SafeMath**, **SafeMathInt**, **SafeMathUint**
But we were unable to locate a matching bytecode (err_code_2)

It either fails to verify on " Error! Unable to generate Contract ByteCode and ABI (Expected library(ies) but one or more was not provided)".
Or I can get it verified, but it is then verified as contract name “IterableMapping” and I cannot read nor write to the contract on chain.
Any help on finding and correcting my mistake would be highly appreciated indeed.

https://polygonscan.com/address/0x55797e8b9adf56dc41f6939a0b767ec2d7e6e449

Many thanks for any assist in advanced.
Kafka Partitions not getting split among multiple consumers
Tags: kafka, java
Published: 2022-12-07 14:04:56

I have a Kafka setup running on Linux. I have set the num of partitions in server.properties to 5. I also have set the num of partitions for the topic I am using (let us call it topic1) to 5.

Now, I have 5 consumers (implemented in Java) subscribing to the above topic. I am expecting that all 5 partitions should split the traffic equally among all the 5 consumers.

I tried the following:

ensured that the num of partitions is set to 5 at the topic level and in server.properties.
I ran to ensure that there are 5 partitions for this topic:

`**kafka-topics.sh --zookeeper localhost:2181 --describe --topic topic1 Topic: topic1       TopicId: 4kX9oP3ARA2uHQ1_nVGY-Q PartitionCount: 5       ReplicationFactor: 1    Configs: Topic: topic1       Partition: 0    Leader: 0       Replicas: 0     Isr: 0 Topic: topic1       Partition: 1    Leader: none    Replicas: 1     Isr: 1 Topic: topic1       Partition: 2    Leader: none    Replicas: 2     Isr: 2 Topic: topic1       Partition: 3    Leader: none    Replicas: 3     Isr: 3 Topic: topic1       Partition: 4    Leader: none    Replicas: 4     Isr: 4**`

I also ran a similar config in another setup with 5 partitions and 5 consumers on a Windows setup. But there, I could see that all 5 consumers are equally getting the data.
But on the Linux setup I mentioned above, it always goes to just 1 consumer.
Any inputs on how I can debug this issue? From the Kafka-topics describe output, it is clear that this topic has 5 partitions. But still those 5 partitions are not splitting among the 5 consumers available.

Is there a way to check either via command line or from the Kafka logs, how many partitions are actually used during the test run? If Kafka-topics describe says 5 partitions, does it actually mean that 5 partitions are also getting used when we run a test?

Note that I am running a load test on this machine - with more than 100 users firing data.
Want more relaxed tech career role?
Tags: career, beginners, programming, tutorial
Published: 2022-12-07 13:59:04

[facebook.com/Trinwhocode](https://www.facebook.com/Trinwhocode)

Are you tired of the constant pressure and stress of being a software developer? While the field can be demanding, there are certain roles within software development that offer a more relaxed and less-stress environment.

One such role is that of a technical writer. Technical writers are responsible for creating user manuals, guides, and other documentation for software products. They work closely with the development team to understand the features and functionality of the software, and then create clear and concise documentation for users. This role allows for a more flexible and collaborative work environment, as well as the opportunity to focus on creative writing and problem-solving.

Another low-stress role in software development is that of a QA tester. QA testers are responsible for testing software to ensure it meets the requirements and functions properly. This role allows for a more structured and predictable work environment, as QA testers follow a defined testing plan and document any issues that arise. QA testers also have the opportunity to work closely with the development team and provide valuable feedback on the software.

In addition to technical writing and QA testing, another relaxed role in software development is that of a project manager. Project managers are responsible for overseeing the entire development process and ensuring that the project is completed on time and within budget. This role allows for a more strategic and high-level view of the project, as well as the opportunity to manage and motivate a team.

Overall, these roles within software development offer a more relaxed and stress-free environment compared to more traditional roles such as coding and development. So, if you are looking for a change of pace in your software development career, consider exploring these options.

What do you think about these least stressful and most relaxed roles in software development? Share your thoughts in the comments below.

[linkedin.com/in/trinmar](https://linkedin.com/in/trinmar)
C++ ga kirish
Tags: beginners, webdev, tuorial, programming
Published: 2022-12-07 13:47:46


**Bugun biz C++ ni o'rganishni boshladik.**


### Ushbu kodda komentariyaga olishni organasiz:


``` cpp
#include <iostream>
using namespace std ;
int main() {
  
// cout<< "Salom nima\n";
  
  /* cout << "Salom nima" <<endl;
  cout << "Salom nima" ; */ 
  
  cout << "Salom nima" ;
  
return 0;
  }
```

### Ushbu kodda yozuvni orasini ochishni o'rganasiz 

``` cpp

int main() {
cout << "Salom " ; cout << "qalesiz" ;
  return 0;
}
```

### Ushbu kodda yozuvni tagiga tushirishni o'rganasiz

``` cpp
int main() {
  cout << "salom\n" ; cout << "Yaxshimisiz" ;
  return 0;
}
```

### Ushbu kodda yozuvni tagiga tushurishni 2-turi ni o'rganamiz

``` cpp
int main() {
cout << "Salom"  <<endl; cout << "yoqtimi" ;
return 0;
}
```
@DAWROUN
AWS Glue Tutorial | Getting Started with AWS Glue ETL | AWS Tutorial for Beginners
Tags: aws, beginners, tutorial, serverless
Published: 2022-12-07 13:47:09

This Edureka video on AWS Glue talks about the features and benefits of AWS Glue. It shows how AWS Glue is a simple and cost-effective ETL service for data analytics. 

 {% embed https://www.youtube.com/watch?v=Qpv7BzOM-UI %}
Announcing Bunzz's new series of Smart Contract Modules.
Tags: webdev, programming, web3, blockchain
Published: 2022-12-07 13:43:18

Dear blockchain developer, 

We are excited to announce our new series of Smart Contract Modules available in Bunzz. These contract modules cover different web3 use cases and make your Dapp development process easier and faster.

Today we’re gonna start with our new VestingWallet Module, created by CryptoFist. 

With the VestingWallet contract you can create and manage only one vesting schedule. This contract  is audited, it works on all EVM-chains and it’s available as OSS too.
 
You can access this Module [here](https://bit.ly/3F3e6dw)

## Overview

By using the VestingWallet Module, developers can create their own vesting schedule.

It allows a different way to claim rewards by staking after a certain period of time.

This smart contract is helpful mainly for two purposes:

- Keep token price and
- Pay devs or investors.

Once implemented this smart contract allows you to put any token into a vesting schedule to distribute them later. The wallet owner sets and manages only one vesting schedule. In addition, this VestingWallet connects to the ERC20 contract.

## How to use

1. **Deploy** smart contract via [Bunzz](https://app.bunzz.dev/)

2. Set vesting token address by calling **connectToOtherContracts** function. (If you deploy this module and ERC20 at the same time, the connectToOtherContracts function is executed by Bunzz automatically)

3. By calling **createVestingSchedule** function, it creates the vesting schedule. Before that, you should deposit a vesting token.

4. If you think it’s not fair, you can revoke the vesting schedule anytime by calling the **revokeVestingSchedule** function.

5. Beneficiaries will get released vesting tokens when someone calls **release** function.

## Module Parameters

There are no arguments

## Functions

**WRITE**

- Release
- transferOwnership
- renounceOwnership
- revokeVestingSchedule
- createVestingSchedule
- emergencyWithdraw
- connectToOtherContracts

**READ**

- vestedAmount
- vestingToken
- releasableAmount
- paused
- start
- released
- revocable
- duration
- owner
- beneficiary
- _vestingToken

You can access this Module and the code [here](https://bit.ly/3F3e6dw)

If you still haven’t signed up to Bunzz, what are you waiting for? Sign up [here](https://app.bunzz.dev/signup) and get your smart contracts deployed in 5 minutes through our GUI.
Amazon SES Tutorial | How To Send Emails Using AWS SES
Tags: aws, cloud, tutorial, beginners
Published: 2022-12-07 13:28:31

This "AWS SES Tutorial" by Edureka will help you get going on one of the most essential Messaging services by Amazon Web Services called Simple E-mail Service. 
Amazon SES is an SMTP service provided by Amazon web services (AWS) that allows you to send emails through your email marketing application like Mailwizz, Mailster, or even Desktop apps, like Send blaster or Turbo mailer. The main reason for selecting Amazon SES as your SMTP Service is the cheap costs, the high reputation of Amazon IP addresses, a high percentage of deliverability.


{% embed https://www.youtube.com/watch?v=gVRTKuMFc0c %}
Things You Need to Remember with the Surplus Stocks in India
Tags: beginners, business, valueshopp, original
Published: 2022-12-07 13:23:36

<div style="text-align: justify;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhynbBgk1505RLl-KPPo96h1-qVxmO6jbN1jbWCPy_fNcmA-Hnx9V_Y34GOM_BEJOKqR8LcRMsHJn0GadMy7e6gTu8I9NnsFdkbexAnRpacEymiUEG4L5Pqa_kLOjLBMFw6oiEXPQAxpA3XGM1WpjKf2aXoUr-8wdAH4mu7OGc4eWSooi3Tr2MWUXT7/s544/Value%20Shoppe%20logo.png" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="544" data-original-width="520" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhynbBgk1505RLl-KPPo96h1-qVxmO6jbN1jbWCPy_fNcmA-Hnx9V_Y34GOM_BEJOKqR8LcRMsHJn0GadMy7e6gTu8I9NnsFdkbexAnRpacEymiUEG4L5Pqa_kLOjLBMFw6oiEXPQAxpA3XGM1WpjKf2aXoUr-8wdAH4mu7OGc4eWSooi3Tr2MWUXT7/w177-h185/Value%20Shoppe%20logo.png" width="177" /></a></div><br />Any reasonable person would agree that you are a fan of item flood pieces of clothing? Scrutinize this plan to do whatever it takes not to purchase an inadequate or a fake flood piece of clothing.<br /></div><div style="text-align: justify;"><br />Purchase overflow pieces of clothing sold in the item flood stores are additional pieces of clothing or imperfect pieces of clothing as per the buyer's quality specific, or excess sum conveyed in terms of professional career garment creators. In a nut cell, an overabundance piece of clothing is made of worth raw parts yet might be having observable or secret defects.<br /></div><div><br /></div><div style="text-align: left;"><div style="text-align: justify;">Item flood stores sell remarkable marked articles of clothing that could contain deficient part(s) or possibly imperfect trim. Articles of clothing with hidden away flaws that don't deter the utilization of pieces of clothing are okay to various wearers as they choose to buy flood things.<br /><br /><b>Two kinds of deformations you could track down in surplus stock in India.</b><br /><br />Complying with are very few guidelines to purchase special product quality articles of clothing and to understand the distortions that lie in the articles of clothing.<br /><br />1. Check Brand mark - Exporter pieces of clothing makers don't accept to sell flood pieces of clothing with one-of-a-kind names. Along these lines, they cut names going before offering flood items to whole sellers and retailers. On the off chance that you notice a cut name, it might be a novel thing. <a href="https://www.valueshoppe.co.in/" target="_blank"><b>Purchase the best surplus stock in India</b></a> at the right cost.<br /><br />

[Read More](https://www.valueshoppe.co.in/)
Text Summarization in Machine Learning
Tags: machinelearning, news
Published: 2022-12-07 13:11:14

Text summarization is the technique for generating a concise and precise summary of voluminous texts while focusing on the sections that convey useful information, and without losing the overall meaning.
Automatic text summarization aims to transform lengthy documents into shortened versions, something which could be difficult and costly to undertake if done manually.

Machine learning algorithms can be trained to comprehend documents and identify the sections that convey important facts and information before producing the required summarized texts.

**The main types of text summarization**
Broadly, there are two approaches to summarizing texts in NLP: extraction and abstraction.

**Extraction-based summarization**
In extraction-based summarization, a subset of words that represent the most important points is pulled from a piece of text and combined to make a summary. Think of it as a highlighter—which selects the main information from a source text.
In machine learning, extractive summarization usually involves weighing the essential sections of sentences and using the results to generate summaries.

Different types of algorithms and methods can be used to gauge the weights of the sentences and then rank them according to their relevance and similarity with one another—and further joining them to generate a summary.

**Abstraction-based summarization**
In abstraction-based summarization, advanced deep learning techniques are applied to paraphrase and shorten the original document, just like humans do. Since abstractive machine learning algorithms can generate new phrases and sentences that represent the most important information from the source text, they can assist in overcoming the grammatical inaccuracies of the extraction techniques. 

Although abstraction performs better at text summarization, developing its algorithms requires complicated deep learning techniques and sophisticated language modeling. 

Abstraction-based summarization approaches must address a wide variety of NLP problems, such as natural language generation, semantic representation, and inference permutation.
Killing Processes on Ports With Windows
Published: 2022-12-07 13:07:38

---
title: Killing Processes on Ports With Windows
published: true
description: This error has been killing meError: listen EADDRINUSE: address already in use :::7000
tags: 
cover_image: https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80
# Use a ratio of 100:42 for best results.
# published_at: 2022-12-07 12:57 +0000
---

## NestJs Port Issues
I've had some major issues with the ports when using NestJs. It keeps locking it's self out of the port it's using. This article will show you how to kill them with out needing to reset the machine.


![DAMN PORT ISSUES](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b6v1athixvvun1mtg5qz.png)


Using a windows PowerShell terminal with elevated privilages. "7000" can be replaced with the port you need.

```bash
netstat -aon | findStr "7000"
```

![Results from port scan](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0d79r9x5q1pj6s47q9xi.png)

```BASH
taskKill /PID 10436 /F
```

![Killing ports with fire](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/la7593in8zftlkd65re5.png)

Be careful. This is as much a reminder for me as it is instructions for you. Disclaimer... I hold no responsibility for the stuff you kill with this article
How To Become A Salesforce Developer | Salesforce For Beginner
Tags: salesforce, cloud, job, tutorial
Published: 2022-12-07 13:02:51

This Edureka video on '𝐇𝐨𝐰 𝐭𝐨 𝐛𝐞𝐜𝐨𝐦𝐞 𝐚 𝐒𝐚𝐥𝐞𝐬𝐟𝐨𝐫𝐜𝐞 𝐃𝐞𝐯𝐞𝐥𝐨𝐩𝐞𝐫' will help you understand who is a Salesforce Developer and what are their roles and responsibilities. It will also talk about how to become a Salesforce Developer.

{% embed https://bit.ly/3UT5k81 %}
Getting a .app instead of .ipa as final artifact from cmake.
Tags: qt6, ipa, xcode, cmake
Published: 2022-12-07 12:49:54

Hello community,

TL;DR
My question is : How can CMake be used to build an IPA? currently we are getting a .app artifact as final product, Does CMake have the required commands or targets to do this ? Earlier we were using XCodebuild -exportArchive option for same.

I am trying to port an iOS application from Qt5 (build with Qmake) to Qt6 (build with Cmake), and I have successfully completed compilation and linking stages.
I am getting an archive as App.app instead of an expected App.ipa

commands used to build app
```
cmake -H. -Bbuildxcode -DCMAKE_PREFIX_PATH=/Users/cybercraft/Qt/6.2.4/ios -DCMAKE_TOOLCHAIN_FILE=../ios.toolchain.cmake -DPLATFORM=OS64  -DENABLE_BITCODE=NO -GXcode
cmake --build buildxcode
```
I have a bash script that does build an ipa with Qt5.12.11, I've compared the xproj files (from both bash build and cmake build) side by side for every setting, didnt find any difference for packaging/signing.
Building ipa directly from command line using XCodebuild -exportArchive didnt work as well, producing same .app instead of .ipa.

I'm new to cmake and iOS development, am I missing something critical?

I have added my CMakeLists.txt file here [ https://pastebin.com/VD2DxHNi ]
ios.toolchain.cmake is taken from [ https://github.com/leetal/ios-cmake ]
My info.plist file here [https://pastebin.com/qcrd6Fdy ]
My export.plist file here [ https://pastebin.com/eJiVnwFt ]
screenshot of compilation process "with build successfull" [ https://imgur.com/a/97PCXeZ ]

Build environment Details:
	Qt version: 5.12.11
	qmake version: 3.1
	MacOs version: 12.6 (Monterey, M1 2020)
	Xcode version: 14.0.1 (14A400)
	xcodebuild version: 14.0.1 (14A400)
	cmake version: 3.24.2
	boost version: 1.80.0

I've already followed few online suggestions and solutions mentioned in forums, but none of them worked, if you want me to add thoses, I'll add them too, just let me know if it helps.
	although my question could possibly be a duplicate of https://stackoverflow.com/questions/72553643/creating-an-ipa-from-app-for-ios-using-cmake still hoping to find some solutions.
	https://stackoverflow.com/questions/8739506/xcode-creates-archive-instead-of-ipa didnt help here.
	https://stackoverflow.com/questions/52049567/get-ipa-from-xcode didnt help as well.
	

Regards.
Regroot - Search Job Listings (MongoDB Atlas Hackathon 2022 Submission)
Tags: atlashackathon22, javascript, nextjs, webdev
Published: 2022-12-07 12:46:25

## What I built

**Regroot - Rerooting Professions**

A web app to search from 1000s of IT Jobs and challenge the new era of mass layoffs. Built for MongoDB Atlas Hackathon 2022.




### Category Submission:
Search No More: Build an application with full-text search capabilities using MongoDB Atlas and Atlas Search

### App Link
Vercel Deployment : https://regroot-three.vercel.app/

### Screenshots


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

### Description
 **Features**

- MongoDB Atlas Full Text Search Capabilities
- Search with Job Title, Location and much more.

### Link to Source Code
https://github.com/sid-js/regroot

### Permissive License
MIT License

## Background
Over recent months, tech companies have been laying workers off by the thousands. It is estimated that in 2022 alone, over 120,000 people have been dismissed from their job at some of the biggest players in tech. The Search no More category gave light to build a web app for people to search for job listings.


### How I built it
I built the app using NextJS while styling it with TailwindCSS. I learned how to use Mongo's Official Drivers for NodeJS and implement MongoDB Atlas Full Text Search with my app along with NextJS API Routes.



### Additional Resources/Info
- [Atlas Search ](https://www.mongodb.com/docs/atlas/atlas-search/tutorial/)
Wednesday Links - Edition 2022-12-07
Tags: java, jvm, cache
Published: 2022-12-07 12:45:18

Contributing BigInteger.parallelMultiply() to OpenJDK (12 min)✖️
https://www.javaspecialists.eu/archive/Issue305-Contributing-BigInteger.parallelMultiply-to-OpenJDK.html

Java 20: A Sneak Peek on the Panama FFM API (6 min)🇵🇦
https://minborgsjavapot.blogspot.com/2022/12/java-20-sneak-peek-on-panama-ffm-api.html

Falsehoods programmers believe about undefined behavior (8 min)❓
https://predr.ag/blog/falsehoods-programmers-believe-about-undefined-behavior/

Cache invalidation really is one of the hardest problems in computer science (5 min)🧹
https://surfingcomplexity.blog/2022/11/25/cache-invalidation-really-is-one-of-the-hardest-things-in-computer-science/

Java agent to diagnose JDK-8180450 (1 min)🕵️
https://github.com/RedHatPerf/type-pollution-agent

Distinctions With A Difference (1 min)⚖️
https://tidyfirst.substack.com/p/distinctions-with-a-difference