teleren/devto huggingface dataset:
Java Newsletter Insights – Issue 18
Tags: java
Published: 2022-09-14 02:01:45

Originally posted at [CuratedJava](https://curatedjava.com/java-newsletter-insights-issue-18)

🔥 Top Java Post
Java is Very Fast, If You Don’t Create Many Objects
You still have to pay attention to how many objects you create. [Learn more >>](http://blog.vanillajava.blog/2022/09/java-is-very-fast-if-you-dont-create.html?m=1)

🤖 Java Interview Questions
Q. What are some libraries to parse, generate, transform and query JSON data?

A. There are multiple libraries to parse, generate, transform and query JSON data in Java. Two very popular libraries are Jackson and GSON. Both offer a very broad range of features, including methods to parse a JSON string to a Java POJO and vice versa.

[More Questions
](https://curatedjava.com/java-interview-questions)

❓StackOverflow Special Java Question
[Why are static variables considered evil?
](https://stackoverflow.com/questions/7026507/why-are-static-variables-considered-evil)

🖱️ Just Click It

[1. Java Champion James Ward on the State of Java and JVM Languages](https://www.infoq.com/articles/james-ward-java-jvm-languages/)
[2. Java 19 in Action – Inside Java Newscast #33
](https://www.youtube.com/watch?v=vvXmO2ZMGsk)
[3. Primitives in instanceof and patterns
](https://mail.openjdk.org/pipermail/amber-spec-experts/2022-September/003497.html)
[4. JEP 429: Extent-Local Variables to Promote Immutability in Java
](https://www.infoq.com/news/2022/09/extent-local-variables-java/)
[5. How to determine whether an array contains a particular value in Java?
](https://stackoverflow.com/questions/1128723/how-do-i-determine-whether-an-array-contains-a-particular-value-in-java)
[6. What is the difference between a .war and .ear file?
](https://stackoverflow.com/questions/1594667/war-vs-ear-file)
[7. Why should Java 8’s Optional not be used in arguments
](https://stackoverflow.com/questions/31922866/why-should-java-8s-optional-not-be-used-in-arguments)

⚙️ New Releases
[JavaFX 19](https://github.com/openjdk/jfx/blob/master/doc-files/release-notes-19.md)

[Previous Editions Java Newsletter editions](https://curatedjava.com/java-weekly-newsletter)
InstaPro APK free Get
Tags: instagra
Published: 2023-11-26 17:33:58

InstaPro APK: An Enhanced Instagram Experience
Instagram, the popular social media platform, has millions of users worldwide. However, some users crave additional features not offered in the official app. This is where [Instapro Download](https://instaproandroid.com/) comes in.

What is InstaPro?
InstaPro is a modified version of Instagram that offers a host of additional features. It’s an APK, which means it’s an Android Package Kit and can be manually installed on Android devices.

Features of InstaPro
InstaPro provides several enhancements over the standard Instagram app. These include options to download videos and photos, view full-size profile pictures, hide view status in stories, and more.

How to Install InstaPro?
The latest version of InstaPro available for download is v10.30. To install it, follow these steps:

Enable “Unknown sources” in your device settings to allow the installation of third-party apps.
Navigate to the download folder using your file manager.
Locate the downloaded InstaPro v10.30 APK file.
Open the installer and click the “Install” button.
A Word of Caution
While InstaPro offers exciting features, it’s important to note that it’s a third-party modification. Downloading APKs from third-party sources can potentially harm your device or compromise your privacy. Always ensure that the source is trustworthy before proceeding with the installation.

In conclusion, InstaPro offers an enhanced Instagram experience with its additional features. However, users should proceed with caution and ensure their sources are reliable before installation.
The difference between Package and Package-lock.json
Published: 2023-11-26 17:30:55

The package.json file is the most crucial file in any application that records all other libraries and their versions. It contains all the details related to that particular application, including its name, dependencies, and dev-dependencies. 

Dependencies are essential for the app to run correctly in production environments, while dev-dependencies are only required for development mode, not for production. 

Package.json is the most important file of any application that keeps the record of all other libraries and its versions. 

Package.json file has all the details mentioned about that particular application. 

The name and dependencies and dev-dependecies are also mentioned there. 

Basically dependencies are the ones that are required for the app to run properly in the production environments and dev-dependencies are essentials which are required for the development mode only not for the prod one. 

For example, testing packages are not required on production but only for dev mode. 

Package json has the versions of the supportive libraries mentioned at the time of first creation of the app.

Package-lock.json has actual versions of the libraries present currently. 

Ex. react-router: “^3.4.5” is mentioned in package will download the minor version update so lock file can have 3.5.0 but not 4.x and if ~ is mentioned means the third digit can be updated of the version. Similarly for the * the major release can be updated. 

So, all these updated versions are mentioned in the package-lock.json

- Patch releases: `1.0` or `1.0.x` or `~1.0.4`
- Minor releases: `1` or `1.x` or `^1.0.4`
- Major releases: `*` or `x`

Thus we can define the exact version as per our convenience.
Drupal CMS
Tags: drupal, beginners, php
Published: 2023-11-26 16:36:29

I have been working with Drupal for around 2 years now. I find Drupal very powerful but also very challenging to learn and improve. Being self taught doesnt make it any easier too. 

Is there anyone here who can help new Drupal developers with some tips on how to improve? I thought of finding a mentor but where I stay I can't really find any Drupal developers or jobs easily. so that is another challenge to overcome.
Hello, World ;)
Tags: webdev, beginners, react, career
Published: 2023-11-26 16:36:26

Hi everyone, It's nice to be part of this community!
I have been working with web development on an on-and-off basis for a while now. I am on a number of Udemy courses, mainly on FullStack Web Development, with a focus on ReactJS. 
I look forward to getting to know everyone here and help if I can ;)

Wil
how to copy html inside iframe?
Tags: tailwindcss, iframe, frontend, react
Published: 2023-11-26 16:22:32

![ss](https://miro.medium.com/v2/resize:fit:700/1*jKDuvkT2HypWo6W9EDoP1Q.gif)
Have you ever spent a considerable amount of time crafting a beautiful UI, only to find that many HTML template websites tuck their elements away in iframes to prevent easy copying?
 
Faced with this challenge, I spend lots of time this weekend on my side project [cssPicker](https://www.csspicker.dev/?utm_source=devto), and I'm thrilled to share the breakthrough: HTML copying from iframes is now supported!

If you've ever been frustrated by the limitations imposed by iframes while working on your UI projects, [cssPicker](https://www.csspicker.dev/?utm_source=devto) might just be the solution you've been waiting for. Join me in exploring this newfound capability and reduce your UI development into miniutes.


cssPicker is a browser extension you can Copy HTML to code and paste into your project as React or tailwind component.
digital marketing expert
Published: 2023-11-26 16:17:45


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8ls70n9dunb64yqgbj9q.jpg)
[digital marketing expert](https://sigulp.co.uk/) at Sigulp and Managing Director of a digital marketing agency Techtadd Ltd, Elvijs Plugis is an accredited marketing and project managing expert who not only meets expectations but exceeds them every time. Holding a long line of executive-rich experiences across the marketing, entertainment, event, and business branding sectors, Elvijs is a highly dynamic industry leader who is renowned for cultivating new levels of organizational growth, potential, and scalability.
Unveiling the Nuances of Creatio API Integration: A Technical Review
Published: 2023-11-26 16:15:13

Fellow developers,

We've recently had the opportunity to delve into the intricacies of integrating with Creatio CRM's OData API, and I'm excited to share our insights with you. This article explores the various aspects of Creatio API integration, including authentication, data organization, search capabilities, and more.

Here's a quick overview of what you can expect from this article:

- **Authentication**: Discover the different authentication methods available for Creatio API integration, including Basic, Forms authentication, and OAuth2.

- **Data Organization**: Understand the unique structure of Creatio data and how to navigate its various levels of referencing.

- **Search and Query Capabilities**: Unleash the power of OData's $filter and $search operators to effectively query Creatio data.

- **Sync/Deltas API**: Learn how to utilize the OData API's query capabilities to filter data by ModifiedOn, enabling incremental data updates.

Whether you're a seasoned developer or just starting your journey with Creatio API integration, this article provides valuable insights and practical tips to enhance your integration experience.

Here is our blog post: [Unveiling the Nuances of Creatio API Integration: A Technical Review](https://www.aurinko.io/blog/creatio-api/)

I hope you find this article informative and helpful. Please feel free to share your thoughts and experiences in the comments below.
Unleash Potential through Audio Loop Mastery!
Tags: audioloops, musicproduction, music, hiphop
Published: 2023-11-26 16:08:11

Unleash Potential through [Audio Loop Mastery](https://audioloops.com/)!" is an immersive odyssey into the captivating realm of music production, designed to empower enthusiasts and seasoned musicians alike. This dynamic workshop invites participants to discover the untapped reservoirs of creativity within audio loops, offering a transformative experience that transcends conventional boundaries.

At the heart of the workshop is the art of audio loop mastery – a skill set that opens doors to endless sonic possibilities. Participants embark on a hands-on journey, navigating the intricacies of loop creation with expert guidance. From crafting infectious beats to sculpting melodic landscapes, the workshop provides a comprehensive exploration of the fundamental elements that elevate music to new heights.

Facilitated by industry veterans and skilled instructors, the program goes beyond technical proficiency, fostering an environment of experimentation and innovation. Participants are encouraged to break free from traditional norms, embracing a mindset that values the uncharted territories of sound. The workshop celebrates diversity in music, accommodating genres ranging from ambient and experimental to rhythmic and energetic.

"Unleash Potential through [Audio Loop Mastery!](https://audioloops.com/)" is more than a mere technical training; it is an invitation to cultivate a deep understanding of rhythm, harmony, and composition. By unlocking the secrets of audio loops, participants gain the tools to weave intricate musical narratives that resonate on a profound level. The workshop serves as a catalyst for self-expression, providing a platform for individuals to shape their unique sonic identity.

Whether you're a newcomer eager to explore the world of music production or a seasoned artist seeking fresh inspiration, this workshop is a gateway to a universe where the transformative power of audio loops awaits. Unleash your potential, redefine your musical horizons, and embark on a journey of self-discovery through the mastery of [audio loops](https://audioloops.com/). Join us and let the sonic adventure begin!
DELVING INTO PIPEDRIVE API: A DEVELOPER'S EXPLORATION OF INTEGRATION AND INSIGHTS
Published: 2023-11-26 16:08:05

Fellow developers, we've recently had the opportunity to explore Pipedrive API, and I'm excited to share our insights with you!

Pipedrive API is a powerful tool for integrating Pipedrive CRM with other applications and services. It offers a wide range of endpoints for accessing and manipulating Pipedrive data, making it a versatile tool for building custom CRM solutions.

Here are some of the key takeaways from my exploration of Pipedrive API:

- **Comprehensive API**: Pipedrive API covers all aspects of data management in the platform, including managing leads, contacts, organizations, deals, pipelines, tasks, meetings, calls, and notes.

- **Authentication and Authorization**: Pipedrive API supports OAuth 2.0 as well as API token authorizations. Developers can generate a client ID and secret within their Pipedrive developer sandbox for a public or a private app.

- **Sync/Deltas API**: The API provides the Recents endpoint, which is designed specifically for syncing.

- **Metadata API**: Metadata API is available as {Item}Fields endpoints, such as PersonFields, DealFields, OrganizationFields, and more.

- **Real-time Notifications with Webhooks**: Pipedrive API supports Webhooks, which are pretty flexible.

In addition to these strengths, we also noticed some areas where Pipedrive API could be improved:

- **Inconsistencies in the API payloads**

- **Issues with the metadata descriptions**

- **Search and Query Capabilities**

Check out the full blog post for a more in-depth look at Pipedrive API:

[Delving into Pipedrive API: A Developer's Exploration of Integration and Insights](https://www.aurinko.io/blog/pipedrive-api/)

I'd love to hear your thoughts on Pipedrive API. Have you used it before? What are your experiences?
Exception handling in .NET 8: IExecptionHandler
Tags: net8, csharp
Published: 2023-11-26 16:07:08

This is an example of how to handle exception globally by implementing IExceptionHandler in .NET 8 Minimal Api

<h5>ApiResponse.cs</h5>
```csharp
record ApiResponse(bool Success, string Message);
```
<h5>AppExceptionHandler.cs</h5>
```csharp
using Microsoft.AspNetCore.Diagnostics;

public class AppExceptionHandler : IExceptionHandler
{
    public async ValueTask<bool> TryHandleAsync(
        HttpContext httpContext,
        Exception exception,
        CancellationToken cancellationToken)
    {
        httpContext.Response.StatusCode = 501;
        httpContext.Response.ContentType = "application/json";
        await httpContext.Response.WriteAsJsonAsync(
            new ApiResponse(false, exception.Message),
            cancellationToken);
        return true;
    }
}
```
<h5>Program.cs</h5>
```csharp
var builder = WebApplication.CreateBuilder(args);

// Adds an AppExceptionHandler to services
builder.Services.AddExceptionHandler<AppExceptionHandler>();

var app = builder.Build();

// Adds an exception handling middleware to the pipeline
app.UseExceptionHandler(_ => { });

app.MapGet("api", () =>
{
    throw new ApplicationException("Something went wrong");
});

app.Run();
```
<h5>Output</h5>
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l69z2wkppr85jy2wb6s9.png)


Ref: [Microsoft](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling?view=aspnetcore-8.0#iexceptionhandler)
Run Llama7b 100+ TPS with A10.
Tags: machinelearning, tutorial, ai, bash
Published: 2023-11-26 15:51:07

Hi Folk.

I've been working on setting up and managing TensorRT-LLM and Triton backend scripts to build the Llama2-7b model in FP16, int8, and int4 formats.

I ran a benchmark with int4 and achieved an inference speed of approximately 100 tokens per second.

[Github Llama7b-TensorRT-LLM](https://github.com/vultureprime/deploy-ai-model/blob/main/aws-example/Llama7b-TensorRT-LLM/README_eng.md)
Nearshore Software Development in Mexico: The Complete Guide 2023
Tags: nearshoreoutsourcing
Published: 2023-12-07 22:14:55

---
title: Nearshore Software Development in Mexico: The Complete Guide 2023
published: true
date: 2023-11-26 15:32:39 UTC
tags: NearshoreOutsourcing
canonical_url: 
---

Mexico, a vibrant and innovative country with a thriving software development industry, has for decades been viewed as a solid nearshore software development destination for tech companies looking to develop pools of talent outside the U.S. Mexico is reaping the benefits not only of geographical proximity and cultural affinity, but also of a growing talent pool of highly skilled software engineers available at knock-down prices.

The post [Nearshore Software Development in Mexico: The Complete Guide 2023](https://blog.nextideatech.com/nearshore-software-development-in-mexico/) appeared first on [Next Idea Tech Blog](https://blog.nextideatech.com).
Microsoft Azure - Virtual Machines ☁️💻
Tags: cloud, azure, programming, webdev
Published: 2023-11-26 15:30:00

Are you ready to harness the full power of the cloud? Look no further than Microsoft Azure Virtual Machines (VMs)! Whether you're a cloud newbie or a seasoned pro, Azure VMs have got you covered. Here's why you should be excited:

🚀 **Flexibility**: Azure VMs offer a wide range of pre-configured templates to suit your needs. Choose from Windows, Linux, or other OS options. Customization is key, and you have full control over the VM size, storage, and performance.

⚡ **Scalability**: Scale your resources up or down as needed. Whether you're running a small website or a global enterprise application, Azure VMs adapt to your workload seamlessly.

🔒 **Security**: Rest easy knowing your data is protected by Azure's world-class security features. With built-in threat protection, encryption, and compliance certifications, your VMs are in safe hands.

🌐 **Global Reach**: Deploy VMs in Azure data centers around the world. Achieve low-latency, high-performance computing wherever your users are located.

🔄 **Hybrid Cloud**: Azure VMs seamlessly integrate with your on-premises infrastructure. Extend your data center to the cloud without missing a beat.

🔧 **Management Tools**: Manage your VMs with ease using Azure Portal, PowerShell, or Azure CLI. Automation options and monitoring tools streamline your operations.

📈 **Cost Optimization**: Pay only for what you use with Azure's flexible pricing options. Save money with reserved instances and take advantage of free extended security updates for Windows Server VMs.

Whether you're a beginner exploring the cloud or an expert architecting complex solutions, Azure VMs provide the foundation for your cloud journey. It's time to unlock new possibilities and drive innovation!☁️🚀
Introducing 3Engine: The No-Code Web3 Game Engine
Published: 2023-11-26 15:29:48

In the ever-evolving world of gaming, we are excited to introduce 3Engine, a groundbreaking no-code platform that empowers anyone to create Web3 games without writing a single line of code. With its intuitive drag-and-drop interface and visual scripting tools, 3Engine revolutionizes the game creation process, making it accessible to a wider audience than ever before.

**3Engine: Democratizing Game Development**

Traditional game development has long been the domain of experienced programmers, requiring years of coding expertise and specialized knowledge. 3Engine breaks down these barriers by providing a no-code approach that eliminates the complexities of traditional game development.

**How Does It Work?**

3Engine's drag-and-drop interface allows users to effortlessly create games by simply dragging and dropping game elements. Visual scripting tools further simplify the process, enabling users to connect game elements and define game mechanics without writing any code. This intuitive approach makes game development accessible to anyone with a creative spark, regardless of their technical proficiency.

**Features That Empower**

3Engine offers a suite of powerful features that empower game developers of all levels:

- **Intuitive No-Code Interface:** Create games without writing a single line of code using our drag-and-drop interface.
- **Cross-Platform Compatibility:** Develop games that run seamlessly on any devices.
- **Multichain Capability**: Our platform offers comprehensive support for various EVM-compatible networks.
- **Seamless Web3 Integration:** Incorporate play-to-earn mechanics, in-game asset ownership, and other Web3 elements into your games.
- **User-Friendly In-Game Wallet System:** Make Web3 accessible to all players with our easy-to-use in-game wallet system.
- **Comprehensive Game Development Console:** Manage your games, track player activity, and analyze game metrics with our robust console.

**Join the 3Engine Revolution**

3Engine is more than just a game development platform; it's a catalyst for creativity, a tool for empowerment, and a gateway to a world of endless possibilities. By democratizing game development, we are empowering individuals from all backgrounds to become game developers, share their stories, and revolutionize the gaming landscape.

**Get Started Today**

Visit our website here: [3Engine.io](https://3engine.io/) to learn more about 3Engine and start creating your own Web3 games today.

Join the 3Engine revolution and become a part of the future of gaming.
Open Source Contribution(w. Movex)
Published: 2023-11-26 15:28:38

### Intro

Through `Hacktoberfest`, I got to know the open-source project [Movex](https://github.com/movesthatmatter/movex), and I'm one of the contributors of Movex and I keep working on the project. This project is serverless real-time data-sharing infrastructure for frontend developers, and written in `Typescript`. 

### Issue
For this release0.3, I spent almost 3 weeks on the `Codu`'s issue and picked the minor bug for this time. I fixed two issues([issue1](https://github.com/movesthatmatter/movex/issues/179),[issue2](https://github.com/movesthatmatter/movex/issues)), and both were linting issues on the project. When I ran `npx nx lint movex --quiet` the command for linting, there were errors as below:


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

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



#### issue2

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

### How to fix
#### issue1
There was an issue `require statement not part of import statement`, and I tried to use `"@typescript-eslint/no-var-requires": 0` on `.eslintrc.json` file to solve the linting issue. However, the author wanted to use `import` statement for consistency, and I simply update the code by using `import` statement, and this is my [PR].(https://github.com/movesthatmatter/movex/pull/191)

```ts
import * as consoleGroup from 'console-group';
consoleGroup.install();
```

#### issue2
There was an issue `constraining the generic type tstate to any does nothing and is unnecessary.` on the code.
```ts
export interface IOConnection<
  TState extends any,
  TAction extends AnyAction,
  TResourceType extends string
> {
  clientId: MovexClient['id'];
  emitter: EventEmitter<IOEvents<TState, TAction, TResourceType>>;
}
```
And I simply removed `extends any` after `TState`, and the issue is gone. I checked all tests were passed and created [PR](https://github.com/movesthatmatter/movex/pull/192/). Also, I found out there were a bunch of linting issues other than these 2 issues, so I asked the author to assign the remaining linting issues to me. That might be a good chance to deal with `lint` in `Typescript`.