Hiding Data in DB2

Featured Imgs 23

In this article, we'll talk about fine-grained access control in DB2 - hiding data that is, in fact, present in the database, but should not be accessible to certain users.

Fine-grained access control is usually done in the database itself as the data is being accessed, but it can also be done between the database server and the database client using a programmable proxy.

The Cost Crisis in Observability Tooling

Featured Imgs 23

The cost of services is on everybody’s mind right now, with interest rates rising, economic growth slowing, and organizational budgets increasingly feeling the pinch. But I hear a special edge in people’s voices when it comes to their observability bill, and I don’t think it’s just about the cost of goods sold. I think it’s because people are beginning to correctly intuit that the value they get out of their tooling has become radically decoupled from the price they are paying. 

In the happiest cases, the price you pay for your tools is “merely” rising at a rate several times faster than the value you get out of them. But that’s actually the best-case scenario. For an alarming number of people, the value they get actually decreases as their bill goes up.

i don´t understand this syntax error when using OpenCV

Category Image 101

This is the error message:

%Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "<string>", line 6
image = cv2.imread(C:\Users\Audun Nilsen\Pictures\pica.webp)
^
SyntaxError: invalid character in identifier

This is the code:

import cv2 # OpenCV for image processing

image = cv2.imread(C:\Users\Audun Nilsen\Pictures\pica.webp)

Chris’ Corner: Scroll Driven Delight

Category Image 052

I’m pretty hot on Scroll-Driven Animations! What a wonderful idea that we can tie @keyframe animations timelines to scroll positions. And I’m sure the creators of it thought long and hard, because the API makes a ton of things possible. It’s not just “how far the entire page has scrolled”, although that’s possible. The progress through the animation can be tethered either to the scroll position of any element or to the position of an element within a scrollable container. Those are referred to as the Scroll Progress timeline or the View Progress timeline respectively. Slow clap, people.

Bramus Van Damme makes that nicely clear in this overview article. Bramus has been following, working on, creating demos, and writing about this stuff for a long time, and it was a smart move to wrap all that stuff up in a dedicated website for it.

I’m also a big fan of his co-worker Adam’s approach to an intro article here. Adam makes demos that are a smidge more designery and those tend to land with me. And speaking of designery demos, Ryan Mulligan’s beginning explorations are wonderful. He’s got some Polaroid photo style images that “blur in” when they scroll into view and a pair of photos that shuffle themselves as you scroll. I share Ryan’s sentiment that the tools Bramus has built are nearly crucial in understanding this stuff, since all the different keywords and values have such big effects.

These scroll-driven animations tend to be things that are just fun and could easily be thought of as progressive enhancement. So the fact that this is Chrome-only for now isn’t terribly bothersome to me, although it is polyfillable. We also didn’t get scroll-driven animations on the Interop 2024 list, but that doesn’t mean we won’t get Safari or Firefox support this year. Still could happen, just not really a guarantee.

Why do I think this is so cool? It’s not like we absolutely couldn’t do this before. Greensock has a ScrollTrigger plugin that is widely loved and has a pretty sweet API. (Here’s a great Collection.) I don’t think it’s terribly egregious to use JavaScript for these kind of effects, particularly if it makes them more maintainable, performant, or do things impossible any other way. But that’s the thing — when these abilities come back to native web technology like CSS, chances are the performance is going to be great and arguably more maintainable thinking long term as the people familiar with the technology will grow.

Yuriko Hirota did a great job of proving how much more performant using CSS for these types of animations are. The single-threaded nature of DOM interactive JavaScript means that if JavaScript is busy doing anything else, a JavaScript-powered animation is going to suffer from jankiness, that is, jerky and non-smooth animation. Even when JavaScript is quite busy, a CSS powered animation is fine. Those “scroll progress animations” are the classic demo of this web tech. Michelle Barker went deep on those this past year, starting with the basics and getting lovably weird as the article goes on.

Let’s end with a little tip! Bramus mentioned that if you’re setting up a scroll-driven animation that involves a target element and different scrolling element, if it’s not working, there is a good chance…

The culprit: an overflow: hidden sitting somewhere in between the target and the scroller.

It’s always the overflow, isn’t it? I find overflow is usually the culprit in figuring out why a sticky positioned item isn’t working as well. The solution, if you do actually need to deal with hiding overflow, is to use overflow: clip; instead, a relatively new ability. Kevin Powell covered a couple other scenarios where overflow: clip; saves the day, so it’s definitely worth knowing about!

I’ve been playing with Scroll-Driven Animations myself a bit. I wrote one bit about highlighting a bit of text as you scroll down a blog post, something I was inspired by from Lene Saile’s blog. As a response to a reader question, I also figured out how to zoom in images when they come into the viewport as well. Both of those ultimately use the scroll position to control the point in the animation to be at, which I think is usually nice, but I also enjoyed the idea that you can un-tether those things (say, run a 3s animation once an element becomes fully visible) by flipping a --custom-property in a keyframe which triggers a different keyframe, like Ryan Mulligan digs into.

It’s still early days for Scroll-Driven Animations and there are sure to be extremely clever ideas people will find for years. My jaw was already dropped by using them to fit text exactly to a container and to write conditional logic detecting if an element can scroll or not.

The Top 5 Advantages of Internet Marketing

Category Image 023
  1. Targeted Reach: Digital marketing allows you to reach your target audience with pinpoint accuracy. Through techniques such as audience segmentation and personalized messaging, you can deliver tailored content to the right people at the right time, maximizing engagement and conversions.

  2. Cost-Effectiveness: Compared to traditional marketing channels, digital marketing offers a cost-effective way to promote your products or services. With options like social media advertising, pay-per-click campaigns, and email marketing, you can reach a wide audience without breaking the bank.

  3. Measurable Results: One of the most significant advantages of digital marketing is the ability to track and measure your results in real-time. With analytics tools and data-driven insights, you can monitor the performance of your campaigns, identify areas for improvement, and optimize your marketing efforts for maximum impact.

  4. Enhanced Brand Visibility: Digital marketing channels provide endless opportunities to enhance your brand visibility and build a strong online presence. From search engine optimization (SEO) to social media marketing, you can increase brand awareness, attract new customers, and establish your business as an authority in your industry.

  5. Greater Flexibility and Adaptability: In the ever-changing landscape of digital marketing, flexibility and adaptability are key. With the ability to quickly pivot strategies, test new ideas, and respond to market trends in real-time, digital marketing offers unparalleled flexibility compared to traditional marketing methods.

Top 5 In-Demand Tech Skills for 2024: A Guide for Career Advancement

Featured Imgs 23

In today's rapidly evolving and highly competitive tech landscape, staying ahead of the curve is essential for career growth and success. As we look ahead to 2024, certain tech skills are poised to be in high demand, driving innovation and shaping the future of various industries.

In this article, we'll explore the top 5 in-demand tech skills for 2024 and how they can propel your career forward, helping you stay relevant and get hired in the competitive job market.

How To Embed Documents for Semantic Search

Featured Imgs 23

In this post, you will take a closer look at embedding documents to be used for a semantic search. By means of examples, you will learn how embedding influences the search result and how you can improve the results. Enjoy!

Introduction

In a previous post, a chat with documents using LangChain4j and LocalAI was discussed. One of the conclusions was that the document format has a large influence on the results. In this post, you will take a closer look at the influence of source data and the way it is embedded in order to get a better search result.

Dysfunction Mapping

Featured Imgs 23

In this fascinating talk, Michael Lloyd introduced the concept of dysfunction mapping, a tool developed over years of trial and error aimed at creating a repeatable way to find, theme, and ultimately solve organizational dysfunction.

Abstract

Dysfunction mapping is a tool developed over years of trial and error, aimed at creating a repeatable way to find, theme, and ultimately, solve organizational dysfunction. By following these steps, you can more quickly identify the biggest wins, develop a solid action plan, and measure if you’re really achieving outcomes that matter. It’s not a silver bullet, but it can give you some structure to creatively solve problems while also making your value visible and your goals clear.

Demystifying Data Integration: A Comprehensive Guide

Featured Imgs 23

In a data-driven world, data integration has become a cornerstone for businesses to acquire, combine, manage, and interpret data efficiently. This blog post delves into the foundational concepts surrounding data integration, analyzing its role, key methodologies, innovative strategies, and how to effectively manage its process. We will also evaluate the pros and cons of real-time and batch integration and explore prevailing trends shaping the future of data integration. Neophytes and zealous professionals alike can derive enlightenment from this walkthrough. 

Introduction: Understanding Data Integration

The colossal growth of data has transformed the business landscape, and data integration is at the heart of this transformation. As data-centered methods have become the norm in every industry, understanding what data integration is, why it matters, and its key facets is invaluable for every business.

Mobile Computing: Advantages, Challenges, Evolution, Use Cases, and Models

Featured Imgs 23

Mobile computing has become an indispensable element of our everyday lives, revolutionizing how we work, communicate, and access information. In this thorough book, we will examine the world of mobile computing, addressing its benefits, problems, evolution, use cases, and numerous models that have molded the industry.

Introduction

The use of portable computing devices such as smartphones, tablets, and laptops, in conjunction with wireless communication networks, to access and transfer data and information is referred to as mobile computing. It has become an indispensable component of our daily lives, allowing us to stay connected, work remotely, and access information while on the move. This article will look at several features of mobile computing.