Steven Hillion, SVP of Data and AI at Astronomer – Interview Series

Steven Hillion is the Senior Vice President of Data and AI at Astronomer, where he leverages his extensive academic background in research mathematics and over 15 years of experience in Silicon Valley’s machine learning platform development. At Astronomer, he spearheads the creation of Apache Airflow features…

From Software’s Hidetaka Miyazaki Discusses His Approach To Difficulty

From Software games have garnered a reputation – alongside the rest of the Soulslike subgenre – for delivering difficult, punishing experiences that reward persistence with an unparalleled thrill of victory. The latest release, Elden Ring: Shadow of the Erdtree, has attracted attention and, in some sectors of the fan base, controversy for how punishingly difficult it is. The week before the expansion’s release, we sat down with From Software president Hidetaka Miyazaki to talk about the notion of difficulty and how the passionate fan base has surprised him over the years.

The Soulslike genre, particularly From Software games, puts an emphasis on death as part of the gameplay experience. When you fight a challenging enemy, it may feel insurmountable, but by taking a studious and persistent approach, players can recognize patterns, develop skills, and, sometimes, with a little luck, pass the trials to progress through the game. “I think of all of the different ways I want to be killed as a gamer and as a player, and thinking about the difficult curve and certain challenges that we placed in front of other players is something that, as a gamer, I just hoped or wished would exist as an experience,” Miyazaki says.

From Software’s Hidetaka Miyazaki Discusses His Approach To Difficulty

The difficulty and the unknown build a certain level of tension, contributing to a feeling of dread that some players can’t get enough of. Not knowing what’s around the corner, then the feeling of seeing something you couldn’t imagine in your wildest nightmares provides the level of surprise that From Software hopes to achieve with each passing encounter. To achieve this, Miyazaki takes on much of the level-design responsibilities to ensure that players feel that tension in appropriate ways.

“The entire genre from Demon’s Souls all the way to Elden Ring – the so-called From Software Soulslikes games – I have always taken a very heavy involvement in stage design and level design because I want to create those exact experiences,” Miyazaki says. “As a player walks through this world, I know that they have a very fragmented understanding of the lore, the surroundings, the type of monsters, whereas I don’t. So, the map and level design are supposed to serve as this guide in a way to help players pick up more information and piece together what they think that world is. That is the reason why I level design myself: to make sure that those moments aren’t lost. And yes, it’s a very time-consuming process, but [fans recognizing the level design intent] makes it worthwhile.”

elden ring boss guide

But Miyazaki knows that many of the games he creates are inherently difficult, but the dedicated players of the genre always seem to rise to the challenge. “There is certainly a lot of surprise, especially when watching content from really, really good players,” he says. “We design certain experiences with the intent of, ‘Oh man, I’m sure they’re going to have a tough time with this,’ but somehow, these players are able to overcome all the obstacles with their skill. With regards to difficulty, I know we get a lot of credit for saying, ‘Yeah, our games are difficult,’ but it’s not a matter of simply cranking up the difficulty. It’s doing so fairly.”

“When players are killed, and they can understand why they were killed in an instance, and it feels justified – ‘Okay, yeah, that makes sense’ – that’s the game design we’re trying to achieve,” Miyazaki continues. “I know a lot of players out there are probably going to disagree: ‘What are you talking about?! This game doesn’t make sense! What the heck!’ But we try to make sure that there is a learning curve and a feedback loop that the players are able to extract from that they can then bring into the next attempt. We believe in difficult games, but not games that are unjustly or unfairly so. But, of course, there’s still room for improvement on our side, as well.” 

With Elden Ring: Shadow of the Erdtree available now (read our review here), the Soulslike and From Software community is back to debating the merits of the developer’s difficulty. But regardless of the debate, history has shown that players will eventually adapt to this new level of challenge and defeat the seemingly undefeatable. From Software has shown an unprecedented level of mastery in understanding how to create content for its community, so while some players may currently feel like Shadow of the Erdtree is too challenging, it will be interesting to observe how that sentiment swings once those same players get more time with the expansion under their belts.


Use ChatGPT to Export Data from a WordPress Database

Retrieving data from a WordPress site can be a nightmare. Site data could reside in several places. Pulling from these various sources isn’t easy.

Websites that feature eCommerce or memberships are prime examples. Each plugin may store data in a different spot. Some create separate database tables. Others use the default WordPress locales.

Export plugins exist that help in some – but not all – circumstances. For example, you might be able to export customer orders. However, grabbing additional data not directly related to those orders may not be possible.

Writing a custom query is another option. But you’ll need to know your way around PHP and MySQL. Not everyone has the expertise to do so.

Artificial intelligence (AI) can help. As I discovered, tools like ChatGPT can do the dirty work. It simplified the process and saved me loads of time. Perhaps it saved my sanity as well.

Here’s how to use AI to get what you need from the WordPress database.

Before We Get Started

There are a few items we should mention before starting:

  • Back up Your Site’s Database or Create a Local Copy of Your Site
    None of what we’re doing here should hurt your database. However, create a fresh backup – just in case.
  • You can also create a local copy of your site for experimenting. That enables you to work without the risk of harming your production website.
  • Have Access to a ChatGPT Account
    We’re using ChatGPT for this demo. Therefore, you’ll want to have access to a free account. You can follow along and experiment.

Other AI tools, such as Google Gemini, may also work. The point is to use an AI tool that will generate code.

Also, a warning: Use caution when generating code. AI tools can make mistakes! Review the code before using it.

What Are You Doing with the Data?
There are a couple of things you can do with the data you retrieve:

  • Display the data on the front end of your site;
  • Download a CSV file that contains the data;

You’ll want to determine this beforehand. The process is a bit different depending on your choice.

Oh, and you’ll also need access to your site’s database. Access to your theme is required for displaying data on the front end.

Use ChatGPT to Export Data from a WordPress Database

Retrieving User Data from Different Plugins

Now, onto our experiment. Let’s take a common sticking point and try to make sense of it.

Our fictional website has two purposes. We sell various products with WooCommerce. Customers come to our site, create accounts, and order from us.

On the other side of the coin, we also sell memberships. Our members pay for access to exclusive content. We use the Restrict Content Pro plugin to power this feature.

Both WooCommerce and Restrict Content Pro have reporting features. For example, we can find out how many members we have. Or the number of WooCommerce customers.

But what if we want to combine this data? There’s no straightforward way to do this. So, let’s see if AI can help.

Step 1: Find the Data You Want

The first step is to determine what data you want to retrieve. Then, you’ll need to find the data inside the WordPress database.

Our goal is to create a CSV export file that includes users who are:

  • A customer in our WooCommerce shop AND…
  • Have an active membership via Restrict Content Pro;

Data isn’t always easy to locate. In some cases, you may need to reference plugin documentation. Or contact their technical support. A thorough database search can help if all else fails.

In our case, WooCommerce and Restrict Content Pro create custom database tables. That will make our job a bit easier.

  • WooCommerce table names use the ‘wp_wc‘ prefix.
  • Restrict Content Pro table names use the ‘wp_rcp‘ prefix.

We’ll also want to bring in data from the ‘wp_users‘ and ‘wp_usermeta‘ tables. That allows us to tie customer and membership data to specific users.

With that in mind, we’ll look for the following information:

Data Type Database Table Column
User ID wp_users ID
First Name wp_usermeta Meta Key: first_name
Last Name wp_usermeta Meta Key: last_name
Customer ID wp_wc_customer_lookup customer_id
Membership Status wp_rcp_memberships status
Membership Level ID wp_rcp_memberships object_id

Step 2: Ask ChatGPT to Create a Database Query

Next, we’ll ask ChatGPT for some help. We’ll want to provide a clear explanation of the task.

Here’s the prompt I used:

I'd like to create a MySQL database query for a WordPress website. I only want to retrieve users who have both a WooCommerce Customer ID and a membership via Restrict Content Pro.

Here is the data I'd like to retrieve:

From the wp_users database table:
ID

From the wp_usermeta database table:
Meta Key: first_name
Meta Key: last_name

From the wp_wc_customer_lookup database table:
customer_id

From the wp_rcp_memberships database table:
status
object_id

Step 3: Get the Response

ChatGPT’s response included a code snippet and a detailed explanation of it (view the full response). The snippet joins multiple database tables together to produce a single report.

So, how do we see if it works? We can run the query in a tool that connects to the site’s database. I’m using a local website that includes AdminerEvo.

You could also use phpMyAdmin, MySQL Workbench, or similar apps. ChatGPT can even provide instructions for whatever app you’re using.

I’ve pasted the query into the SQL Command screen inside AdminerEvo.

Step 4: Study the Results

The results are in! Our fictional website has 198 users. 15 of them have a paid membership. There are also 200 product orders.

So, how many are WooCommerce customers and Restrict Content Pro members? A grand total of seven.

The query results returned the columns we requested. From here, we can tweak things further or export the data.

The results of the database query.

Going Further with AI

Our example query may seem simple. However, bringing together data from multiple plugins is challenging. A custom solution is often the only solution.

I’m no coding expert. Thus, figuring out how to get data became frustrating. Thankfully, AI has proven to be a terrific tool for the job.

It’s one of the areas where this technology shines. Many of us struggle to write this sort of code on our own. Writing a prompt describing what we want isn’t so bad, however.

There are also opportunities to take things further. We could change our prompt to display data on a WordPress page. Or return data relevant to the currently logged-in user.

A working knowledge of PHP and MySQL can take you a long way. So, experiment and see what you can accomplish. And be sure to add up all the time you save in the process!

Related Topics


Top

5 underappreciated benefits of AI in cyber security – CyberTalk

5 underappreciated benefits of AI in cyber security – CyberTalk

EXECUTIVE SUMMARY:

The benefits of AI in cyber security are phenomenal, yet not sufficiently well-known. In this article, get insights that cut through the noise; that show you how to put AI to work in ways that will yield worthwhile results.

AI-powered cyber security solutions drive proactive threat prevention, accelerated response times, reduced false positives, optimization of resources and cost efficiency – all of which are strategic advantages that conspire to help create a more agile and robust organizational security posture.

Although 91% of organizations allow that AI adoption is a priority, the large majority are still in the planning or development stages of their AI-in-security journeys. Whether you’re assessing AI-based tooling adoption or wish to get more out of existing AI implementations, this article offers valuable insights that can propel your cyber security strategy forward.

Benefits of AI in cyber security

These are the kinds of returns that you can expect to receive on your AI-powered cyber security investment:

1. Proactive threat prevention and detection. One of the most significant benefits of AI in cyber security is that it transitions organizations from a reactive threat management approach to a proactive one. Here’s what we mean…

Historically, security tools have relied on known signatures or rules. Yet, this has left organizations vulnerable to unknown threats.

To circumnavigate the problem, AI can look back at trends, patterns and anomalies, using volumes of existing data to identify emerging, never-before seen attack types. AI’s capabilities here enable security teams to mitigate issues before they spiral into damaging security incidents.

2. Accelerated response times. When a security incident occurs, time is of the essence. AI-powered cyber security solutions can automate the initial stages of incident response; threat identification, impact assessment and containment.

In some instances, AI may be able to auto-isolate compromised devices from the network. In turn, this prevents the spread of malware (ex. ransomware). Efficient and automatic device isolation can minimize a cyber attack’s financial impact on a business.

3. False positive reduction. False positives – benign activities that are improperly recognized and categorized as malicious – have long been a security team frustration. They consume time and resources while potentially obscuring genuine threats. But AI has much to offer here…

For various technical reasons, AI-powered cyber security tools allow for a markedly more accurate differentiation between suspicious behavior and normal behavior, as compared to traditional cyber security tools. Subsequently, false positive rates decline. When there are fewer false positives, security teams can spend more time engaging with real threats, contributing to a stronger organizational cyber security posture overall.

4. Resource optimization. Given the cyber skills shortage, organizations are under pressure to optimize human resources. Nearly 50% of Check Point survey respondents recognize AI’s potential when it comes to automating repetitive tasks and optimizing resource allocation.

AI can competently tackle log analysis and correlation, vulnerability scanning and assessment, patch management and routine threat hunting. Thus, humans can focus on more complex and strategic initiatives. Ultimately, this approach – apportioning the work between AI and humans – ensures that resources are allocated in a way that maximizes impact and optimizes outcomes.

5. Cost efficiency. AI-powered tools can reduce the need for point solutions. This is because many AI-powered cyber security platforms offer extensive, integrated capabilities. Such consolidation can lead to significant cost savings in terms of software licenses, maintenance and interoperability efforts.

AI also contributes to cyber security cost efficiency due to the fact that it can limit the likelihood and impact of security incidents. Because AI-powered systems can identify threats rapidly and respond quickly, the potential for damage drops and expected breach costs decline.

More information

For more insights into the benefits of AI in cyber security, please see CyberTalk.org’s past coverage. Curious about how ChatGPT-5 could influence your security strategy? Click here.

Discover at transformative, industry-leading AI-powered, cloud-delivered cyber security solution here. Lastly, to receive cyber security thought leadership articles, groundbreaking research and emerging threat analyses each week, subscribe to the CyberTalk.org newsletter.

SoftBank chief: Forget AGI, ASI will be here within 10 years

SoftBank founder and CEO Masayoshi Son has claimed that artificial super intelligence (ASI) could be a reality within the next decade. Speaking at SoftBank’s annual meeting in Tokyo on June 21, Son painted a picture of a future where AI far surpasses human intelligence, potentially revolutionising…

Ernest Piatrovich, Product Manager at ARTA – Interview Series

Ernest Piatrovich is a Product Manager at AIBY Group, leading one of the company’s top-tier AI-driven apps, ARTA – AI Image Generator for iPhone and Android. His strategic vision and creative thinking resulted in the app attaining the #2 position in the US App Store top charts shortly after…

How ChatGPT is Transforming Cancer Care

In recent years, the blend of artificial intelligence and healthcare has led to exciting advancements in cancer care. At the core of this change is generative AI, which can analyze vast amounts of patient data and generate insights that improve diagnosis and treatment. As generative AI…

Apple’s EU AI delay: Innovation vs regulation

Apple announced on Friday that it would block its highly anticipated Apple Intelligence AI features, iPhone Mirroring, and SharePlay Screen Sharing for EU users. While not entirely unexpected, this decision underscores the growing tension between rapid technological advancement and the EU’s stringent regulatory framework, particularly the Digital Markets Act…