Filter JavaScript objects the easy way with Arquero

There are many advantages to coding in JavaScript, but data wrangling probably isn’t near the top of that list. However, there’s good news for those who find JavaScript data wrangling a challenge: The same “grammar-of-data” ideas behind the hugely popular dplyr R package are also available in JavaScript, thanks to the Arquero library. Arquero, from … Read more

Spark-Radiant: Spark Performance, Cost Optimizer

Spark-Radiant is Apache Spark Performance and Cost Optimizer. Spark-Radiant will help optimize performance and cost considering catalyst optimizer rules, enhance auto-scaling in Spark, collect important metrics related to a Spark job, Bloom filter index in Spark, etc. Spark-Radiant is now available and ready to use. The dependency for Spark-Radiant 1.0.4 is available in Maven central. … Read more

python – Filter pandas DataFrame by substring criteria

How do I select by partial string from a pandas DataFrame? This post is meant for readers who want to search for a substring in a string column (the simplest case) as in df1[df1[‘col’].str.contains(r’foo(?!$)’)] search for multiple substrings (similar to isin), eg, with df4[df4[‘col’].str.contains(r’foo|baz’)] match a whole word from text (eg, “blue” should match “the … Read more

What You Should Know About Table Partition Pruning

Table partitioning is a very handy feature supported by several databases, including PostgreSQL, MySQL, Oracle, and YugabyteDB. This feature is useful when you need to split a large table into smaller independent pieces called partitioned tables or partitions. If you’re not familiar with this feature yet, consider the following simple example. Let’s pretend you develop … Read more

What Is a CSRF Token?

Cross-site request forgery (aka cross-site reference forgery) is a form of web application attack. The hacker tricks users through malicious requests into running tasks they do not intend to execute. Therefore, the webserver needs a mechanism to determine whether a legitimate user generated a request via the user’s browser to avoid such attacks. A CSRF … Read more

javascript – Need a solution to filter products by multiple price ranges

I am new in VueJS. I have a list of products, and I want to filter those products by price range. so, I built a component (filter-sidebar) that’s a sidebar containing filter types (price, brand..etc) by radio buttons, I want to filter product prices, and the products with a selected price range will be displayed … Read more

Securing Containers With Seccomp – DZone DevOps

This blog post is the second half of my research on making it easier to create Seccomp-BPF filters and secure your containers with them. If you haven’t read the first half of this blog post yet, I recommend doing so before continuing here. For returning readers, I’ll briefly refresh you on my last post. I … Read more