teleren/devto huggingface dataset:
React Native Debugging Native Code
Tags: reactnative, react, android, ios
Published: 2023-10-24 16:34:58

In the world of React Native development, a single debugging tip can make all the difference. Join us as we uncover a valuable insight to streamline your debugging process. This tip will save you time and ensure your apps run smoothly. Let's dive right in!

So run your application using the React Native CLI and attach the native debugger of the native IDE (Android Studio or Xcode) to the process.

### Android Studio

On Android Studio you can do this by going on the "Run" option on the menu bar, clicking on "Attach to Process..." and selecting the running React Native app.

![Android Debugging attach process](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k0oe8j5qgdsdug43m3u3.png)


### Xcode

On Xcode click on "Debug" on the top menu bar, select the "Attach to process" option, and select the application in the list of "Likely Targets".

![Xcode debugging attach process](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pqjxrj9y5kbu31joy2rd.png)

Now you can put breaking points in your native code and tada 🥳!

I added these instructions in the React Native official docs too [you can check the PR status here](https://github.com/facebook/react-native-website/pull/3895).

Follow-me for more content about React Native.
Unveiling the Magic: Visualizing Database Schemas with pgAdmin 4
Tags: tutorial, programming, python, ai
Published: 2023-10-24 16:30:33

Hey Dev.to community! 👋

Are you tired of navigating through complex database structures without a map? Fear not! In this post, we'll explore the enchanting world of visualizing database schemas using the powerful tool, pgAdmin 4.

## What's the Buzz about Database Schemas?

Understanding database schemas is crucial for efficient database management. It's like having a blueprint for your data, showing how tables, relationships, and attributes are interlinked. However, staring at rows and columns in a tabular format can be overwhelming. That's where visualization comes to the rescue!

## Enter pgAdmin 4: Your Magical Wand 🪄

If you're already using PostgreSQL, you're probably familiar with pgAdmin 4. But did you know that it offers a visual representation of your database schema? Yes, it's time to unveil this hidden gem and witness the magic unfold!

## Let's Dive In:

### Step 1: Open pgAdmin 4
Fire up your pgAdmin 4 and connect to your PostgreSQL database.

### Step 2: Navigate to Schemas
Locate the 'Schemas' tab in the object tree. Right-click and choose 'Properties.'

### Step 3: Visualize Your Schema
Behold! The 'Graphical Query Builder' allows you to visualize your schema in a way that's easy on the eyes. Explore relationships, table structures, and dependencies effortlessly.

## Why Visualize?

### 1. **Simplify Complexity**
   - Easily understand intricate relationships.
   - Identify key tables and their connections.

### 2. **Efficient Database Design**
   - Spot anomalies or redundancies.
   - Plan your modifications with a clear view.

### 3. **Collaborate Effectively**
   - Share visual representations with your team.
   - Enhance communication on database structure.

## Tips and Tricks:

- **Color Coding:** Customize your schema for clarity.
- **Zoom In/Out:** Navigate through large schemas effortlessly.
- **Export Images:** Share your schema as an image for easy collaboration.

## Final Thoughts:

Visualizing your database schema is like wearing glasses for the first time—you wonder how you ever lived without it! pgAdmin 4's graphical representation turns complexity into simplicity, making your database management a breeze.

So, what are you waiting for? Dive into the magical world of pgAdmin 4 and visualize your database schemas like never before! ✨

Share your thoughts, tips, and experiences in the comments. Let's make database visualization the new norm!
How to list and set tags for AWS RDS using CLI?
Tags: aws, cli, devops, database
Published: 2023-10-24 16:29:43

```
aws rds list-tags-for-resource --region us-east-1 \
--resource-name arn:aws:rds:us-east-1:888888888888:db:my-db-instance \
--query "TagList[]" \
--output text

 aws rds add-tags-to-resource \
    --region us-east-1 \
    --resource-name arn:aws:rds:us-east-1:888888888888:db:my-db-instance \
    --tags "[{\"Key\": \"key_1\",\"Value\": \"value_1\"},{\"Key\": \"key_2\",\"Value\": \"value_2\"}]" 
```
No-Code Out, AI Code Gen In: The New Era!
Published: 2023-10-24 16:27:05

I've seen many jokes about using tools like GPT/Copilot for writing code. Some people say:

- The code it writes isn't good.
- It's just like those no-code/low-code tools.
- Good luck fixing the code it produces.

Many of these discussions feel one-sided, so I thought of introducing a different perspective to keep things lively.

## 1. Who's in Charge?

Even with AI chipping in, there's always a developer in the mix. Hence, it's called a 'copilot'. We're the main drivers.

Tools like ChatGPT, GitHub Copilot, and Cursor are tools. How effectively we use them is up to us. If you use them properly, they can assist in crafting impressive code. Here is one great example of how GTP can be used to generate [self-tested code](https://www.martinfowler.com/articles/2023-chatgpt-xu-hao.html)

And hey, these tools are still new. I bet they'll only get better.

Think about it: We get better by reading code (good and bad). These tools can read all the possible open-source codebases out there 🤯

## 2. AI-generated Code vs. No-code/Low-code:

They're distinct!  AI-generated code is superior. Here's why:

Flexibility: AI crafts code tailored to your specifications. No-code/low-code tools? They come with their set boundaries.

Learning Together: With AI, the developer and the tool grow and learn together. No-code platforms? Not quite.

Diverse Applications: No-code platforms often cater to specific areas, like apps. AI copilots can be used in much broader contexts and codebases.

Ownership: You own the code generated by AI tools. Not sure about no-code/low-code platforms.

## 3. Maintenance Woes:

Maintaining legacy codebases is a challenge. But hasn't that been a consistent issue? When was the last time you stumbled upon an old codebase and were impressed by its quality?

We're not the best at writing maintainable code. It is hard. TDD and other code quality practices help, but only some people can do that well. Codebases tend to degrade over time, leading to technical debt.

I think AI will make our situation better than making it worse. It will raise the average quality of the codebase. Make it easier to write/generate good code and also help us maintain it.

If AI can read [2000 years old script](https://scrollprize.org/firstletters), it can definitely read our codebase and give us insights. I imagine a future where we will talk to our code, ask questions, and receive guidance on troubleshooting issues.

By the way, I had some help from ChatGPT writing this!
Can Apple's Annual USD 1 Billion Budget Help Them Catch Up In The AI Industry?
Tags: news, ai, ipad, genai
Published: 2023-10-24 16:21:18

Tech behemoth Apple is racing to catch up with rivals like Google, Microsoft, and Amazon in the realm of generative AI. While these competitors have already rolled out AI products and services, Apple is recalibrating its approach. The company, which currently employs AI for tasks like photo enhancement and text autocorrection, is now investing approximately $1 billion annually to advance its generative AI technologies. 

[Apple](https://www.bloomberg.com/news/newsletters/2023-10-22/what-is-apple-doing-in-ai-revamping-siri-search-apple-music-and-other-apps-lo1ffr7p) has internally developed a chatbot called Apple GPT and an expansive language model (LLM) framework named Ajax, though they haven't been integrated into Apple products as of yet.

To dive into the full story, [click here](https://www.techdogs.com/tech-news/td-newsdesk/can-apples-annual-usd-1-billion-budget-help-them-catch-up-in-the-ai-industry).

If you're hungry for daily tech updates, visit our [page](https://www.techdogs.com/resource/tech-news/td-newsdesk) and sign up for your daily dose of the latest in the world of technology. We've got your tech cravings covered!
Can You Find an All-in-One MySQL Management Tool?
Tags: mysql
Published: 2023-10-24 16:17:22

Looking for a feature set with more features and performance that surpasses MySQL Workbench's capabilities? Since 2010, Devart has been improving its all-in-one solution, and the most recent version of dbForge Studio for MySQL provides a user-friendly interface for managing, developing, and managing MySQL databases.

Here is everything you need to know about dbForge Studio for MySQL if you've been considering upgrading from MySQL WorkBench or entering MySQL database administration for the first time.

You can find an all-in-one MySQL management tool here: https://pctechmag.com/2023/10/can-you-find-one/
How my IT adventure started
Tags: beginners, frontend, writing
Published: 2023-10-24 16:16:26

Hello All,

I decided to create this post because I want to break into writing and improve my English (I'm from Poland).

I had been thinking about writing here for a long time, but as is usually the case with me, I was afraid of the opinions of others.

Why? I don't know.

But today, I decided to break through and share with you my story about my beginnings in IT.

So let's get started.

It was in 2021, during the COVID pandemic. I was working in education and thinking about changing my life. The first thing that came to mind was IT because I have always been passionate about computers and how they work, etc.

In an attempt to find my place in IT, cybersecurity was my first thought. Maybe it was because I had watched too much "Mr. Robot." So, I decided to take an introductory course.

For two weeks, I had meetings, tasks, gained a lot of knowledge, worked with virtual machines, hacked websites, and played games.

After two weeks, we had an exam, and I passed with a score of 73% (I don't remember the exact number, but it was more than 70%).

However, it wasn't for me. I tried learning a lot of programming languages and watched webinars about Python, C#, Java, Kotlin...

I was searching for my place for a year.

But I finally decided to try to become a Frontend Developer.

In 2022, I quit my job and focused on becoming a frontend developer. I did this without purchasing courses or bootcamps, as they say, everything you want is available on the internet.

So, I started learning...
FPT Announces Strategic Partnership With Landing AI, Advancing Artificial Intelligence Development And Education
Tags: webdev, news, ai, it
Published: 2023-10-24 16:14:40

Vietnam-based FPT (FPT is a globally leading technology and IT services provider headquartered in Vietnam) and U.S. firm Landing AI have unveiled a strategic partnership aimed at advancing artificial intelligence (AI) applications and education. FPT is set to become one of Landing AI's **major investors and a strategic partner in the Asia-Pacific region.** They plan to explore untapped AI market opportunities across sectors such as automotive, manufacturing, healthcare, and education, leveraging Landing AI's expertise in these areas. 

The partnership may result in the establishment of a dedicated AI engineering center in Vietnam and the development of a comprehensive AI curriculum for students. This collaboration signifies a significant step in **AI cooperation between Vietnam and the United States** and aligns with FPT's focus on AI as a key element of its digital transformation strategy.

To dive into the full story, [click here](https://www.techdogs.com/tech-news/business-wire/fpt-announces-strategic-partnership-with-landing-ai-advancing-artificial-intelligence-development-and-education). 

If you're hungry for daily tech updates, visit our [page](https://www.techdogs.com/resource/tech-news/business-wire) and sign up for your daily dose of the latest in the world of technology. We've got your tech cravings covered!
Some similarities between code and music!
Tags: webdev, beginners, react, music
Published: 2023-10-24 16:12:52


Music and code, seemingly different, share surprising connections:

1. Structure & Syntax

    Both follow strict rules for harmony.
    Deviations can disrupt both tunes and code.

2. Patterns & Repetition

    Patterns drive melodies and code functions.
    Harness these for efficiency and melody.

3. Creativity & Expression

    Music and code are creative outlets.
    Express ideas and solve issues artfully.

4. Collaboration & Ensemble

    Teamwork is vital in music and code.
    Combine skills for harmonious results.

5. Debugging & Tuning

    Musicians tune instruments; coders debug.
    Both seek optimal performance.

6. Problem Solving

    Musicians and programmers solve problems.
    Challenges lead to growth in both realms.

> In summary, music and code may be different languages, but they share the same universal theme of harmony and creativity. Understanding these connections can elevate your skills in both fields, reminding you that beauty and order can be found in code just as it is in music.
How to Obtain Tinkerwell Educational Licenses free
Tags: tinkerwell, free
Published: 2023-10-25 14:55:43

---
title: How to Obtain Tinkerwell Educational Licenses free
published: true
date: 2023-10-24 16:08:19 UTC
tags: Tinkerwell, free
canonical_url: https://eplus.dev/how-to-obtain-tinkerwell-educational-licenses-free
---

 **Tinkerwell** is a tool that facilitates running PHP code without the need for complex web servers or local development setups. It is particularly useful for teaching and learning PHP and its ecosystem. **Tinkerwell** offers free individual licenses for students and teachers who are part of accredited educational programs or institutions. Here's how you can obtain these licenses:

**For Students:**

1. If you are enrolled in an accredited educational program, you can apply for a free individual license.

2. To access the license, follow these steps:  
 - Create or log into your account on the Beyond Code website at [beyondcode.com](http://beyondcode.com).  
 - Go to your profile page on [beyondcode.com/profile](http://beyondcode.com/profile).  
 - Verify your official educational email address.  
 - A license will be automatically added to your account.

3. Keep in mind that you'll need to re-verify your status as a student annually to maintain an active license.

**For Teachers:**

1. If you are a teacher at an accredited educational institution and want to use Tinkerwell in your classroom, you can request a classroom license.

2. Classroom licenses are managed through a single Beyond Code account, issued to accredited educational institutions, valid for one year (renewable upon request), and must only be used for teaching purposes.

3. Classroom licenses are not provided for individual use or for commercial purposes.

To upgrade from a non-commercial educational license to a commercial license, you can do so at any time through the license management portal on the Beyond Code website.

Please visit [beyondcode.com](http://beyondcode.com) and follow the specific steps mentioned for students and teachers to acquire your Tinkerwell educational licenses.

* * *

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698163603635/d05a56f7-ab77-4095-8f41-3ac6497a9355.png)

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1698163573587/bb7c7873-c991-4a27-a779-8453aa73c9df.png)

* * *

Get the latest **Tinkerwell** version for your operating system.

- [**Download Tinkerwell 3.33.0 for macOS (Intel)**](https://download.tinkerwell.app/tinkerwell/Tinkerwell-3.33.0.dmg)

- [**Download Tinkerwell 3.33.0 for macOS (Apple Silicon)**](https://download.tinkerwell.app/tinkerwell/Tinkerwell-3.33.0-arm64.dmg)

- [**Download Tinkerwell 3.33.0 for Windows**](https://download.tinkerwell.app/tinkerwell/Tinkerwell%20Setup%203.33.0.exe)

- [**Download Tinkerwell 3.33.0 for Linux**](https://download.tinkerwell.app/tinkerwell/Tinkerwell-3.33.0.AppImage)

* * *

Source: https://eplus.dev/how-to-obtain-tinkerwell-educational-licenses-free
Angular vs React: A Comprehensive Comparison of Pros and Cons
Tags: react, angular, javascript, programming
Published: 2023-10-24 15:44:17

Hey folks 👋

I wanted to share a quick comparison. I wrote up some of the key pros and cons of Angular vs React.


**Angular Pros**

- Provides more out of the box - full featured framework with routing, state management, testing tools etc built-in

- Strongly typed with TypeScript - detects errors during compile time

- Detailed documentation and learning resources

- Better for complex enterprise applications and teams with clear structure

- More scalable and maintainable codebase with OOP approach

- Easier dependency injection and services

**Angular Cons**

- Steeper learning curve especially for beginners

- More complex overall with abundant features

- Bootstrap time can be longer due to size of framework

- More effort needed to customize things outsideAngular ecosystem

**React Pros** 

- Easier learning curve for simpler apps with just the core library 

- More flexibility - use with various state management, build tools, etc

- Faster performance with Virtual DOM, lighter weight

- Ease of integration with other libraries/frameworks

- Great for progressive web apps (PWAs)

- Active open source community with ecosystem of tools

**React Cons**

- Less opinionated structure - more decisions needed for code organization

- No built-in services, more glue code needed to integrate external state management etc

- Less strict discipline for things like mutability which can cause bugs

- JSX HTML-JavaScript mix can confuse some developers initially

Angular provides more built-in structure while React offers more flexibility. Both have pros and cons depending on the needs of the specific project and team.

Whether you're an Angular or React developer, hopefully, this gives a balanced view of both ecosystems. Let me know if you have any other thoughts on Angular vs React comparisons!
How to Optimize Performance with Dynamic Imports in Next.js
Tags: nextjs, tutorial, webdev, programming
Published: 2023-10-24 15:42:21

Dynamic imports in Next.js allow you to load JavaScript modules only when they are needed, rather than loading them all at once when the page is initially loaded. This can significantly improve the performance of your web application by reducing the initial bundle size and loading only the necessary code when a user interacts with your application.

Let's create a page called DynamicPage to demonstrate how to use dynamic imports in Next.js

``` jsx
// pages/dynamic.js
import React from 'react';

function DynamicPage() {
  return (
    <div>
      <h1>Dynamic Imports in Next.js</h1>
    </div>
  );
}

export default DynamicPage;
```

### Using Dynamic Imports to Lazy Load a Component

Now, let's use dynamic imports to load a component only when it's needed. Suppose you have a component named LazyComponent that you want to load dynamically. Here's how you can do it:

``` jsx
// pages/dynamic.js
import React, { useState } from 'react';
import dynamic from 'next/dynamic';

// component is dynamically loaded without SSR
const LazyComponent = dynamic(() => import('../components/LazyComponent'), {
  ssr: false,
});

function DynamicPage() {
  const [showLazyComponent, setShowLazyComponent] = useState(false);
  
  return (
    <div>
      <h1>Dynamic Imports in Next.js</h1>
      <button onClick={() => setShowLazyComponent(true)}>Load Lazy Component</button>
      {showLazyComponent && <LazyComponent />}
    </div>
  );
}

export default DynamicPage;
```

In this example, we use the dynamic() function to load the LazyComponent module when the "Load Lazy Component" button is clicked.

## Why Use Dynamic Imports in Next.js?
Here are some key benefits of using dynamic imports:

1. Code Splitting: It helps break down your JavaScript into smaller chunks, optimizing the initial page load time.
2. Faster Page Loads: By loading code only when necessary, you reduce the initial bundle size, resulting in quicker page loads.
3. Improved Performance: Less JavaScript to parse and execute leads to smoother interactions and faster rendering times.
4. Better SEO: Faster-loading pages can positively impact your site's visibility in search results.
5. Reduced Initial Payload: Especially important for users with slower internet connections or less powerful devices.



{% embed https://bluesockets.com/next/next-js-dynamic-imports/ %}

Orginially published on [bluesockets.com](https://bluesockets.com/next/next-js-dynamic-imports/).
Python - Use Binary Search for Efficient Searching in Sorted Lists
Tags: python, programming, tutorial, algorithms
Published: 2023-10-24 15:30:00

Binary search is a highly efficient algorithm for finding an element in a sorted list. Each comparison reduces the search space by half, resulting in a time complexity of O(log n), where n is the number of elements in the list. Here's an example:

**Example - Binary Search in Python:**

```python
def binary_search(arr, target):
    left, right = 0, len(arr) - 1

    while left <= right:
        mid = left + (right - left) // 2  # Calculate the middle index

        if arr[mid] == target:
            return mid  # Element found, return its index
        elif arr[mid] < target:
            left = mid + 1  # Adjust the left bound
        else:
            right = mid - 1  # Adjust the right bound

    return -1  # Element not found

# Example usage:
sorted_list = [1, 3, 5, 7, 9, 11, 13, 15]
target = 7
result = binary_search(sorted_list, target)
if result != -1:
    print(f"Element {target} found at index {result}")
else:
    print(f"Element {target} not found in the list")
```

In this example, we implement binary search to find the index of the `target` element in a sorted list. The algorithm divides the search space in half until it finds the target element or concludes that it's not in the list. This makes binary search an efficient choice for searching in sorted data, such as arrays or lists.
Are multiple submissions to PyCon (or tech conferences) OK?
Published: 2023-10-30 05:02:21

---
title: Are multiple submissions to PyCon (or tech conferences) OK?
published: true
date: 2023-10-24 15:04:52 UTC
tags: 
canonical_url: https://whitphx.info/posts/20231025-multiple-submissions-to-tech-conf/
---

**YES✅**

## Different from academia

**Unlike academic conferences and journals** , it is common to submit the same talk proposal to multiple PyCon held in different countries/places **simultaneously**.

For other tech conferences, I have neither participated in nor submitted a talk proposal, so I don’t know the situation. You should check the conference’s website or ask the organizer or experienced people around you.

## My case

In 2022, I presented a talk titled “Real-time browser-ready computer vision apps with Streamlit” at [EuroPython 2022](https://ep2022.europython.eu/) and [PyCon APAC 2022](https://tw.pycon.org/2022/). This time, I first submitted the talk proposal to [PyCon US 2022](https://us.pycon.org/2022/), then before the result came out, I submitted the same talk proposal to EuroPython and PyCon APAC as well. Because it was my first time to submit a talk proposal to PyCon, I was not sure if it was OK to submit the same talk proposal to multiple PyCon, so I asked the EuroPython and PyCon APAC organizers via e-mails. **Then they said it was OK**.

After I entered the PyCon sphere, I found that **it is actually common**. Many people do this, and it is sometimes a good strategy for them to make travel to many countries! (See my related post👉 [Conf-driven Traveling✈️](https://www.whitphx.info/posts/20230511-conference-driven-travels/).

I wrote this post because I couldn’t find any information clearly answering this question on the Internet.

In 2023, I actually submitted the same talk proposal to multiple PyCon and it was accepted by [PyCon DE & PyData Berlin 2023](https://2023.pycon.de/program/GYEZVW/), [PyCon LT](https://pretalx.com/pycon-lt-2023/talk/3BQCJW/), [PyCon TW](https://tw.pycon.org/2023/en-us/conference/talk/301), and [PyCon APAC](https://2023-apac.pycon.jp/timetable?id=YTGKPT)🎉