Machine Learning Interview With Gema Parreño, Lead Data Scientist at Apiumhub

Today we have interviewed our Gema Parreño, Lead Data Scientist at a software development company, Apiumhub, where she develops Data-Driven Solutions. She is passionate about the intersection of machine learning and games, and has had her own startup, contributed to the open source space in the StarCraft machine learning project, and had an experience at Google Brain for Stadia.

Gema gives a talk about Mempathy as an AI Safety and Alignment opportunity, and we wanted to dig deeper and find out more about it, as well as how the idea arose to use it for implementation of Safety and Alignment techniques.

Embracing invokedynamic To Tame Class Loaders in Java Agents

One of the nicest things about Byte Buddy is that it allows you to write a Java agent without manually having to deal with byte code. To instrument a method, agent authors can simply write the code they want to inject in pure Java. This makes writing Java agents much more accessible and avoids complicated onboarding requirements.

After the first successful experiments, agent authors often get hit by a wall of complexity that the JVM throws at them: class loaders (OSGi, oh my!), class visibility, dependence on internal APIs, classpath scanners, and version conflicts to name a few. 

344: With Aaron Iker

Today I get the pleasure of talking with Aaron Iker. Aaron builds incredibly delightful bits and bobs of UI that give you the feeling of hey, I bet I could actually use this! And that’s exactly what Aaron wants you to do. He takes care to make sure the code is easy for you to use if you wish. This idea of taking somewhat practical-looking UI elements, like buttons, loaders, toggles, etc, and then making them do something unexpected and fun is a perfect fit for popularity on CodePen. Last year, Aaron occupied 10 spots in the Top 100! Aaron’s advice: keep challenging yourself.

Time Jumps

  • 00:17 Guest introduction
  • 01:13 Designing for usability
  • 03:43 Sharing across multiple platforms
  • 05:03 Are you interested in 3D?
  • 05:54 Sponsor: Netlify
  • 07:18 Where do you get inspiration?
  • 08:58 Is this what you do professionally?
  • 12:52 What do you reach for in tech tools?
  • 15:35 What’s your process for creating?
  • 19:36 Do you use other platforms?
  • 23:47 Feedback differs on platforms
  • 26:07 Any advice for people?

Sponsor: Netlify

Netlify is Jamstack hosting with all sorts of features to help make developing sites easier (have you seen Netlify Dev? You can run the whole platform locally) and deployed sites better. But Netlify is a big place! They do all sorts of community things like Jamstack Explorers, a whole learning platform for leveling up your Jamstack skills. Not to mention several YouTube channels loaded with learning and fun.

The post 344: With Aaron Iker appeared first on CodePen Blog.

Embrace the Unpredictable

In nature, no two things are ever the same. Life is imperfect, unpredictable, and beautiful. We can walk through the same forest every day and see differently colored leaves. We can look up at the clouds every minute and watch a whole new formation. The physical world is transient and ever-changing. What if our designs were a little more like this?

Often, we spend hours, weeks, even months carefully crafting our websites/applications, sculpting every last pixel until they are just right. Then, we set them free into the world — a perfectly formed, yet static snapshot of something that once was a living, evolving thing.

There is (of course!) nothing wrong with this way of working. But what if we let go of the idea that there can be only one final version of a design? What if our interfaces were free to take more than one form?

I could write forever about this stuff, but I think it’s best to show you what I mean. Naturally, here’s a Pen:

Try clicking the “Regenerate” button above. Notice how the interface changes just a little every time? By parameterizing aspects of a design, then randomizing those parameters, we can create near-infinite variations of a single idea. For those familiar with generative art — art made using a system that includes an element of autonomy — this is likely a familiar concept.

For makers (particularly perfectionists like me!), this approach to design can be incredibly liberating.

For the folk who use the things we make, it creates an experience that is truly individual. In randomizing carefully chosen aspects of our interfaces, they become ephemeral, and to me, this is kind of magical. No two people will ever see the same version of our work.

The web can be a cold, sterile place. By embracing the unpredictable, we can add a joyful, organic touch to our creations — to me, this is the essence of generative UI design, and I would love if you gave it a try! SVG, Canvas, and CSS/Paint API are all excellent mediums for generative work, so pick the one that is most familiar and experiment.

Just remember: apply carefully, and always be mindful of accessibility/UX. Magically evolving designs are great, but only if they are great for everyone.

Exactly What You Want

What is one thing people can do to make their website better?

Exactly what you want to build!

Ask yourself:

  • What drew you to development in the beginning?
  • Is there an experimental API that you’ve been wanting to try out?
  • What could you spend all night hacking away at, just for the fun of it?

Your personal site is a statement of who you are and what you want to do. If you showcase your favorite type of work, you’ll get more requests for similar projects or jobs — feeding back into a virtuous cycle of doing more of what you love.

Like stage performances, you can tell when love and excitement went into creating a website. One of my favorite examples is Cassie Evans’ website. She added so many fun flourishes (including an adorable SVG self-portrait). The joy baked into her work has (at least partially) led to her current role, bestowing animation superpowers at GreenSock!


So, go forth, and create a trailing mouse cursor. Or a confetti component! A real-time drawing pad, or some hardware to show the current state of your coffee machine. Really, anything that gets you excited to build!

Grid Zoom Layout

Today I’d like to share a simple grid concept with you. The idea is to “zoom” or scale up a small grid image and show some more content (i.e. a project slideshow that is not implemented) and a small map that shows a miniature version of the whole image grid so that it becomes easy to navigate.

Combined with some text animations that we’ve previously explored in Layout with Reveal Animations and Content Preview, the whole design comes to life. We are using the same code as in the other demo.

The initially view looks as follows:

When clicking on a grid image, we animate it to the right side of the screen and scale it up.

And this is how it all comes together:

I hope you enjoy this little experiment and find it useful!

Thank you for checking by 🙂

The post Grid Zoom Layout appeared first on Codrops.

Types of Scanners

Before the invention of scanners, it was a challenge to maintain hardcopy documents for different purposes. And because of this, you could find people queuing to photocopy their printed documents. You can imagine the papers around! Thanks to technology because different types of scanners are serving the purpose of managing documents digitally. It has made...

The post Types of Scanners appeared first on DesignrFix.

How to Properly Rename Categories in WordPress (Beginner’s Guide)

Do you need to rename some categories on your WordPress site?

As your site grows, you might need to change the name of some of your categories or merge them with other categories.

In this article, we will show you how to properly rename categories in WordPress without affecting your SEO strategies.

How to Properly Rename Categories in WordPress

Why Rename Categories in WordPress?

If you’ve recently created a WordPress website, then creating a good organizational structure will make it easier for your visitors to find your content and can help your site rank higher in search engine results pages.

That’s why WordPress offers categories and tags. You can learn how to organize your content effectively in our guide on best practices for categories and tags.

As you add more content, you may wish to improve the way you organize your posts, and you may decide to rename some of your categories.

Let’s have a look at how to properly rename categories in WordPress.

How to Properly Rename Categories in WordPress

You will find the WordPress category management area by visiting Posts » Categories. On this page, you can manage WordPress categories, edit existing categories, and delete unwanted categories.

There are two ways to rename categories. The first is to click the ‘Quick Edit’ link under the category you wish to rename.

Click the Quick Edit Link

The Quick Edit metabox will now be displayed. Here you can quickly change the name of the category.

You can also change the category’s slug, which determines the URL of the category page. For example, if the slug is ‘books’, then the category page URL will be:

https://example.com/category/books
The Quick Edit Metabox Will Now Be Displayed

Editor’s Note: You don’t have to change the slug if you’re only making a minor name change, but if you do, then you must set up a 301 redirect. We will show you how to do that later in this article.

Make sure you click the Update Category button when you’re finished.

The second way to rename a category also allows you to add a description of the category. To do this, you will need to click the ‘Edit’ link under the category you wish to rename.

Click the Edit Link Under the Category You Wish to Rename

This will take you to the category edit page. Here you can change the category name, slug and description.

Category Edit Screen

The category edit page also lets you choose a parent category. You can learn more in our guide on how to add subcategories in WordPress.

Changing the Category Prefix

WordPress also allows you to change the /category/ prefix in category URLs. This is called the category base.

To change it, go to Settings » Permalinks and scroll down to ‘Optional’. There you will see a form to change category base and tag base.

WordPress Also Allows You to Change the Category Prefix in Category URLs

The default category base is ‘category’. Here, you can change it to anything you like, such as ‘topics’.

This would change the URL from http://www.example.com/category/your-category-slug/ to http://www.example.com/topics/your-category-slug/.

Merging and Bulk Editing Categories

As your site grows, you may decide to simplify your organizational structure and merge several categories into one.

This is useful if you find that you have a few categories that are very similar. By combining them into a single category, you will make your WordPress site less complex and easier to navigate.

To learn how, check our guide on how to merge and bulk edit your categories and tags.

Merge categories, tags, or terms in custom taxonomies

Redirecting Users to the New Category URL

If you changed the category’s slug, then the URL to the category page has changed and the old URL will no longer work.

Luckily, if you added that category to your WordPress menu, then WordPress will automatically update the menu to reflect your changes.

But when users or search engines try to use the old category URL, it will no longer work. Instead, they will see a 404 Page Not Found error message.

These 404 errors create a bad user experience which can lead to a drop in search engine rankings and lower eCommerce sales.

To avoid this, you will have to set up a redirection from the old URL to the new one. Learn how to do this using our tutorial on how to track 404 pages and redirect them in WordPress.

Activate redirects in AIOSEO

It’s extremely important that you set up the 301 redirect using AIOSEO otherwise changing the category URLs could negatively impact your website search rankings.

We hope this tutorial helped you learn how to properly rename categories in WordPress. You may also want to learn how to improve your site’s SEO, or check out list of must have plugins to grow your website.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Properly Rename Categories in WordPress (Beginner’s Guide) first appeared on WPBeginner.