teleren/devto huggingface dataset:
The Rainbow of Crypto Schemes: Embracing the many Flavours, Beyond the Basic Ponzi Scheme
Published: 2022-12-20 04:51:33

 As crypto enthusiasts, we've all heard it before: "Oh, it's just another Ponzi scheme." It's time to stop the crypto scheme discrimination! For far too long, people have been quick to label every single crypto project as a Ponzi scheme. But the truth is, the crypto world is a veritable rainbow of schemes, each with its own unique flavor and characteristics. 

Sure, there are the classic Ponzi schemes that promise sky-high returns on your investment, only to eventually collapse and leave investors holding the bag. But let's not forget the pump and dump schemes, where a group of insiders artificially inflate the price of a coin through coordinated buying, before selling off their own holdings and leaving the new investors holding a rapidly depreciating asset.

And let's not forget the pyramid schemes, where new investors are recruited to join and are promised returns based on the investments of those below them in the pyramid. These schemes can be particularly insidious, as they often rely on social networks and leveraging trusted relationships to lend in credibility. All well everyone further down the pyramid gets left wrangling scraps.

But it's not just the flashy, attention-grabbing schemes that are worth talking about. There are also the more mundane, yet no less nefarious, middlemen who simply skim off the top of every transaction, quietly lining their own pockets while providing little value to the ecosystem.

So the next time someone dismisses a crypto project as just another Ponzi scheme, remember that there's a whole world of scams out there, each one more creative and resourceful than the last. It's time to stop glossing over the diversity in the industry and start acknowledging the many flavors of crypto scams that are out there.
Why Python is the King of Web Development.
Tags: python, webdev, programming, devops
Published: 2022-12-20 04:51:02

Python is an interpreted, high-level, general-purpose programming language. Created by Guido van Rossum and first released in 1991, Python has a design philosophy that emphasizes code readability, notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales. In July 2018, Van Rossum stepped down as the leader in the language community.

Python is a versatile language that you can use for building a variety of applications. But if you're not a Python expert, it can be tough to get started. That's where we come in. At Hire A Python Developer, we specialize in helping our clients to [hire python expert](https://www.hirepythonexpert.com/) for their needs. We vet all of our developers to ensure they are experts in their field and can provide the highest quality of work.

A lot of companies are turning to Python as the language for their web development projects. There are a lot of benefits to using Python for developers. It's much easier to learn that other languages like C and C++. Also, the syntax is very concise and easy to read. This makes it easier for other developers to understand the code. The code is also much easier to debug. If a bug is found, it is easy to find and fix. Python is also the language of choice for the data scientists and analysts. Data scientists use python to build their machine learning models. 

## Things You Should Know Before Hiring A Python Developer

[Hire Python developer](https://www.hirepythonexpert.com/) can be difficult, but with the right tools, you can make sure you're getting the best person for the job. To find the right person you should look for the right skills and experience. You should also make sure to ask the right questions to make sure you're getting the most out of the person you're hiring. We hope this blog post has helped you find the right person to hire and that you are able to find the best Python developer to suit all of your needs. Thank you for reading, we are always excited when one of our posts is able to provide useful information on a topic like this!
How to write a great resume for software engineers
Tags: webdev, programming, productivity
Published: 2022-12-20 04:44:18

2 / 2

A great resume is an important tool for any job seeker, but it's especially crucial for software engineers, who are in high demand and often have multiple job offers to choose from. Here are some tips for writing a great resume for a software engineering position:

Keep it concise: A software engineer's resume should be no longer than one or two pages. Use bullet points to highlight your skills and experiences, and focus on the most relevant and impressive information.

Use specific examples: Don't just list your responsibilities and duties – provide specific examples of the work you've done and the problems you've solved. This will give the reader a better sense of your skills and capabilities.

Include your technical skills: As a software engineer, your technical skills are your most important asset. Make sure to highlight the programming languages, frameworks, and tools you're proficient in, and any other technical skills that are relevant to the position you're applying for.

Emphasize your achievements: In addition to your responsibilities and duties, make sure to highlight your achievements and contributions. This might include any awards or recognition you've received, as well as any significant projects or initiatives you've led or contributed to.

Use a clean, professional layout: Your resume should be easy to read and free of errors. Use a clean, professional layout, and make sure to proofread carefully to ensure there are no typos or mistakes.

Tailor your resume to the job: It's important to tailor your resume to the specific job you're applying for. This means highlighting the skills and experiences that are most relevant to the position, and using language that is appropriate for the job and industry.

Include any relevant side projects or hobbies: If you have any side projects or hobbies that demonstrate your technical skills or passion for software engineering, consider including them on your resume. This can help you stand out from other candidates and show that you're dedicated to your craft.

In conclusion, a great resume for a software engineer should be concise, specific, and tailored to the job you're applying for. By highlighting your technical skills, achievements, and relevant experiences, and using a clean, professional layout, you can create a resume that will help you stand out from the competition and land your dream job.

Thank you for reading my article! If you enjoyed it and would like to support my work, please consider buying me a coffee at **[Buy Me a Coffee](https://www.buymeacoffee.com/giasuddin)**. You can also learn more about me and my work by visiting my **[Giasuddin Bio ](https://bio.link/giasuddi)**and following me on LinkedIn and Twitter. Thank you for your support!
How to become a good backend developer
Tags: devjournal, webdev, programming, productivity
Published: 2022-12-20 04:44:08

Becoming a good backend developer requires a combination of technical skills and personal qualities. Here are some tips for how to become a good backend developer:

Learn the fundamentals: Before you can start building backend applications, it's important to have a strong foundation in computer science concepts such as data structures, algorithms, and computer networking. Make sure you have a good understanding of these concepts, as they will form the basis of your work as a backend developer.

Master a programming language: There are many programming languages that are commonly used for backend development, such as Python, Java, and C#. Choose one or more languages to specialize in, and make an effort to become proficient in them. This might involve taking online courses or working through practice problems and projects.

Learn a web framework: Web frameworks are collections of libraries and tools that make it easier to build web applications. Some popular web frameworks for backend development include Django (Python), Spring (Java), and ASP.NET (C#). Choose a framework that aligns with your chosen programming language, and make an effort to become proficient in using it.

Learn about databases: Backend developers often work with databases, which are used to store and manage data for applications. Make sure you have a good understanding of different types of databases (such as relational and NoSQL), as well as SQL, which is used to query and manipulate data in databases.

Learn about APIs: As a backend developer, you'll often need to build APIs (Application Programming Interfaces) that allow different applications to communicate with each other. Make sure you have a good understanding of how APIs work, and how to design and implement them.

Practice and build projects: The best way to become a good backend developer is to practice, practice, practice. Work on small projects on your own, or contribute to open-source projects to get real-world experience. As you gain more experience, you'll be able to take on more complex projects and build more sophisticated backend applications.

In conclusion, becoming a good backend developer requires a solid foundation in computer science concepts, proficiency in a programming language and web framework, and a good understanding of databases and APIs. By learning these skills and continually practicing and building projects, you can become a proficient and effective backend developer.

Thank you for reading my article! If you enjoyed it and would like to support my work, please consider buying me a coffee at **[Buy Me a Coffee](https://www.buymeacoffee.com/giasuddin)**. You can also learn more about me and my work by visiting my **[Giasuddin Bio ](https://bio.link/giasuddi)**and following me on LinkedIn and Twitter. Thank you for your support!
Node Version Manager
Tags: node, nodeversionmanager, nvm
Published: 2022-12-20 04:39:24

Sometimes when you are working as a developer you will have to work on multiple projects or fix up a bug in a old project. All these projects will not have the same [node.js](https://nodejs.org/en/) version. Then you had to re-install [node.js](https://nodejs.org/en/) according to the project. This will be a hassle when you had to switch between [node.js](https://nodejs.org/en/) versions multiple times.

nvm is a version manager for [node.js](https://nodejs.org/en/), designed to be installed per-user. nvm works on these platforms: unix, macOS, and windows WSL.

## Getting Started
First we have to download and install [nvm-windows](https://github.com/coreybutler/nvm-windows). 
[https://github.com/coreybutler/nvm-windows/releases/tag/1.1.11](https://github.com/coreybutler/nvm-windows/releases/tag/1.1.11)

## Usage
Check nvm version
```shell
nvm --version
```

List locally installed versions
```shell
nvm ls
```

Install specific version
```shell
nvm install v18.12.1
```

Uninstall specific version
```shell
nvm uninstall 14.17.6
```

Use specific version
```shell
nvm use 18.12.1
```

Using these commands we can easily navigate across multiple [node.js](https://nodejs.org/en/) versions

Happy Coding 😉
45 Days of Leetcode - Majority Element - Day 4.1
Tags: tutorial, career, python
Published: 2022-12-20 04:02:36

Hey dev! In case you don't know, I've started #45daysofleetcode and in these 45 days i'll be writing about two problems every day.

> The problem, how I solved it and a bit of detailed explanation.

I'm sharing this progress with you so that you too can learn a bit of different perspective and have new solutions so hit like to join this journey.

I've chosen the best list of problems from medium to hard. That made lots of developers crack the interview.

Are you excited?

**Today's Problem**

**Name**
Majority Element

**Description**
Given an array nums of size n, return the majority element.

The majority element is the element that appears more than ⌊n / 2⌋ times. You may assume that the majority element always exists in the array.

## Example

```
Input: nums = [3,2,3]
Output: 3

```


## My Approach
We create a dictionary. And add each element to it but with how many times it occured in the list like {value:occurence}. For that we iterate through the list and check if the value is in dictionary: if it is, increase occurence of value by 1; else add that value to the dictionary with the value = 1. and then return the key of the maximum value in the dictionary.

## Code

```
class Solution:
    def majorityElement(self, nums: List[int]) -> int:
        maj = {}
        for i in nums:
            if i in maj:
                maj[i] += 1
            else :
                maj[i] = 1
        return max(zip(maj.values(), maj.keys()))[1] 
```



Let me know if you've any questions or suggestions!.

If you want full list of solutions, [here's the list.](https://github.com/Anas-Dew/dsa-coding-solutions) Make sure you star the repository.

Follow to join this #45daysofleetcode
Bye!
vsCode Configuration for WordPress Plugin
Tags: vscode, wordpress
Published: 2022-12-20 03:58:37

First of all you need to install **wpcs** dependencies on your plugin via **composer** :

```bash
composer require --dev wp-coding-standards/wpcs:dev-develop
```

After install this package, you'll get access these two types of commands :

```bash
# check php coding standard releted issues

./vendor/bin/phpcs
```

```bash
# fix coding standard automatically

./vendor/bin/phpcbf
```

I recommend to register these commands with **composer scripts**.

```json
"scripts": {
	"phpcs": "\"vendor/bin/phpcs\"",
	"phpcbf": "\"vendor/bin/phpcbf\"",
	"sniffs": "\"vendor/bin/phpcs\" -e",
}
```

then you can easily access phpcs commands via composer:

```bash
composer phpcs
composer phpcbf
composer sniffs
```

## Extensions

Some vsCode extensions, I always use :

![PHP-Intelephense](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q60nmksoglzocq6izqoe.png)

I recommend [PHP Intelephense](https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client) for PHP built-in functions completion, code completion (IntelliSense), go to definition support and many more.

![Phpcs](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6sdh8pyb1w6ht95i4ji7.png)

[phpcs](https://marketplace.visualstudio.com/items?itemName=ValeryanM.vscode-phpsab) extension allow us to display phpcs related issues without running phpcs commands every time & also fix coding styles after save file.

To enable WordPress coding standards:

```json
"phpsab.standard": "WordPress",
```

It's automatically configure setup from your root project **composer.json**.

But what happen if you want to develop something like **WooCommerce Extension** OR any other **plugin based plugin** !!

You need to open wordpress plugins directory instead of opening single plugin directory.

![vsCode explorer](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/63zy2arqzvuj0epphpki.png)

Then you can get better code completion (IntelliSense) support.

But the **phpcs** extension doesn't work, you need to configure locally in the **plugins** directory. So, create new folder called **.vscode** under the project root and create **settings.json** file here.

Inside **settings.json** :

```json
{
  "phpsab.executablePathCS": "./subscription-pro/vendor/bin/phpcs",
  "phpsab.executablePathCBF": "./subscription-pro/vendor/bin/phpcbf",
  "phpsab.standard": "WordPress",
  "[php]": {
    "editor.defaultFormatter": "valeryanm.vscode-phpsab"
  }
}
```

Now, you can see **phpcs** working fine.

![vscode phpcs](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0zc0wsbtdtpy7lngmnzi.png)

The last extension is [WordPress Hooks IntelliSense](https://marketplace.visualstudio.com/items?itemName=johnbillion.vscode-wordpress-hooks), which will provide better autocompletion for hooks.

![wordpress intellisense](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wzc2k235cxkyjt6lx2lq.png)

Thanks.
iPhones reacondicionados: qué son y por qué son tan convenientes
Published: 2022-12-20 03:23:29

## Teléfonos reacondicionados: todo el mundo habla de ellos, pero...

Últimamente se habla mucho de teléfonos [reacondicionados](https://acelstore.es/iphones-reacondicionados/), ventas de teléfonos reacondicionados en Amazon, ofertas especiales en iPhones reacondicionados y nuevos sitios para teléfonos reacondicionados.

¿Una nueva moda o realmente una ganga que le permite comprar un aparato de calidad y de última generación a precio de ganga?

¿Qué son, en realidad, los teléfonos móviles reacondicionados y cuánto merece la pena apostar por este tipo de productos si estás pensando en comprar un aparato nuevo pero tu presupuesto no te permite gastar demasiado?

A lo largo de este artículo nos adentraremos en las profundidades del tema e intentaremos proporcionarle las herramientas necesarias para que su experiencia de compra sea consciente y eficaz. Y eso, sobre todo, hará que esté satisfecho con el producto que va a elegir y con el ahorro que podrá realizar.

## ¿Qué son exactamente los teléfonos reacondicionados?

Son aparatos utilizados durante cortos periodos de tiempo, por particulares o empresas, y reacondicionados por técnicos especializados. Luego se vuelven a poner en el mercado en condiciones impecables, pero a precios muy inferiores a los de catálogo.

Tenga en cuenta que no todos los teléfonos usados se consideran aptos para el proceso de reacondicionamiento. De hecho, sólo se tienen en cuenta para este fin los aparatos que ya están en excelentes condiciones y sólo necesitan pequeñas modificaciones y correcciones. Tanto estético como funcional. Para que puedan revenderse con toda su potencia de rendimiento intacta.

En pocas palabras: un teléfono reacondicionado de grado A+ apenas se distingue de uno nuevo de la misma marca y modelo. Esto se aplica a todas las funcionalidades del teléfono.

Por lo tanto:
estética;
integridad de los componentes externos e internos;
funcionalidad general;
capacidad de memoria;
duración de la batería;
nitidez de la pantalla;
audio;
programas y aplicaciones integrados ya instalados por el fabricante.
Por lo tanto, los teléfonos reacondicionados garantizan al comprador la adquisición de un producto absolutamente idéntico al nuevo, pero a un precio muy inferior.
Auth0, Hasura, Social Media Login
Tags: hasura, auth0, reactnative, ios
Published: 2022-12-20 02:18:14

We all want a super simple login and sign up system, so that our customers can become our members in a second and keep logging in without any hassle. Today we're going to talk about how to do it in the projects when we're using [Hasura](https://hasura.io/) and [Auth0](https://auth0.com/).

## Setting Up a Table in Hasura

First we need to have a users table in our Hasura, our unique key on email helps our users to login with different providers to the same account.

![Users table](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/51lk8yfaszj0pnk326mm.png)

![Users table unique keys](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6y89iafyyra5b5sjwav4.png)


## Auth0 Configuration

There's not much to add except following any [Quickstart](https://auth0.com/docs/quickstarts), I prefer disabling email&password login and only allowing login via Google and Apple (because for our case it was an iOS project). It gives a really simple experience to our customers.

## Auth0 Rule for Syncing Users to Hasura

This is the most important part, it should be added as a Rule under Auth Pipeline. Whenever a successful login happens at Auth0 end, this code below runs. This code communicates with our Hasura via API and injects the just logged in user to our table that we created. It also retrieves back a **token** from Hasura and returns to our Auth0 client(library that you're using on mobile/web) as **idToken**. Now you can use Hasura with "Authorization: Bearer **token**" header.

_Note: don't forget to add HASURA_GRAPHQL_JWT_SECRET environment variable to Hasura with the value generated [here](https://hasura.io/jwt-config/). This is necessary for Hasura to recognize our Auth0 as a provider, so that Hasura can generate a user token._


{% gist https://gist.github.com/sakirtemel/3cbdeea6753def394d5235bc4d66be97 %}

## Conclusion

We just went through an end-to-end login/sign-up + Authentication experience with using Auth0 and Hasura. This became our default choice at KelebekLabs whenever we develop a new application. It gives a peace of mind both for the team and the customers.
Extract dynamic text using regex capturing group
Tags: beginners, typescript, javascript, regex
Published: 2022-12-20 02:11:06

We can quickly extract dynamic text using [regex capturing group](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Groups_and_Backreferences). It is useful when we want to extract information from a bunch of strings that are using the same words.

``` typescript
const example = 'You have bought 2 tickets'
const regex = /You have bought (?<tickets>\d*) tickets/
const match = example.match(regex);

console.log(match.groups.tickets);
// output: 2
```

In the example above, we want to extract the number of tickets from the string `You have bought 2 tickets`.  We can define a regular expression pattern by enclosing it between slashes. 

Next, we can define the named capturing group using `(?<Name>x)`. We can access it in the `match.groups` object.

Here's an example where we extract multiple text.

```typescript
const example = 'You have bought 2 tickets and 5 drinks'
const regex = /You have bought (?<tickets>\d*) tickets and (?<drinks>\d*) drinks/
const match = example.match(regex);

console.log(match.groups);
/*
output: { tickets: '2', drinks: '5' }
*/
```
SPVM 0.9668 is released
Tags: perl, spvm, programming, beginners
Published: 2022-12-20 01:44:03

<a href="https://metacpan.org/pod/SPVM">SPVM</a> 0.9668 is released.

## New Features and Enhancement

<a href="https://github.com/yuki-kimoto/SPVM/blob/master/Changes">Changes</a>

```
0.9668 2022-12-20
  [New Features]
    * Added the items native API.
      
      int32_t (*items)(SPVM_ENV* env, SPVM_VALUE* stack);
    * Added the items operator.
    * Added the call_instance_method_static_by_name native API.
    
      int32_t (*call_instance_method_static_by_name)(SPVM_ENV* env, SPVM_VALUE* stack,
        const char* class_name, const char* method_name, int32_t args_stack_length,
        const char* file, int32_t line);
      
  [Incompatible Bug Fix]
    * Fixed the bug that env->get_args_stack_length returns the legnth of arguments, not the stack length of the arguments.
  [Compatible Internal Changes]
    * The CALL_METHOD opcode is separated into CALL_CLASS_METHOD, CALL_INSTANCE_METHOD_STATIC, and CALL_INSTANCE_METHOD_DYNAMIC.
  [Incompatible Changes]
    * Changed the name of the call_spvm_method native API to call_method.
    * Removed the following native APIs. Use call_method instead.
      
      -  int32_t (*call_class_method)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t method_id, int32_t args_stack_length);
      -  int32_t (*call_instance_method)(SPVM_ENV* env, SPVM_VALUE* stack, int32_t method_id, int32_t args_stack_length);
    * Changed the definition of the call_instance_method_by_name native API.
```

## For Programming Beginners

### What Is SPVM?

SPVM is a static typed programming language that can be installed from Perl/CPAN.

### How potential dose SPVM have?

Growth is expected in the fields of Bio Tech, AI/ML, Apple/iPhone/iPad Apps, Google/Android Apps, IoT Device, Connected Car, Smart Device, Smart Home, etc.

This is because SPVM can produce an executable file that supports cross platforms and make easy to calculate arrays and bind C/C++