Replacing Strings in Java Using Regex: Back Reference vs. Lookaround

In this tutorial, we'll explore how to use the replaceAll() method in the String class to replace text using regular expressions. We'll compare the back reference and lookaround methods for this operation and evaluate their performance. | Continue reading


@feeds.feedblitz.com | 6 months ago

Static Code Analysis Using Infer

Explore the fundamentals of code analysis, learn about Infer's capabilities, and get practical insights into incorporating it into your development workflow. | Continue reading


@feeds.feedblitz.com | 6 months ago

CompletableFuture vs. Mono

In this quick tutorial, we'll compare CompletableFuture and Mono from Project Reactor in Java, focusing on how they handle asynchronous tasks. | Continue reading


@feeds.feedblitz.com | 6 months ago

How important is “the scientific method”?

From a recently published paper by Alexander Krauss: Using data on all major discoveries across science including all Nobel Prize and major non-Nobel Prize discoveries, we can address the question of the extent to which “the scientific method” is actually applied in making scienc … | Continue reading


@feeds.feedblitz.com | 6 months ago

Wednesday assorted links

1. Model this, cross-state variation in teen suicide rates. 2. What Swedes think about driverless car algorithms and their moral weights. 3. Median voter theorem: “A year-long joint investigation by The Washington Post, Lighthouse Reports and a consortium of international media o … | Continue reading


@feeds.feedblitz.com | 6 months ago

The Left on FDA Peer Approval

Robert Kuttner discovered an excellent treatment for colds while vacationing in France and is rightly outraged that it’s not available in the United States: Toward the end of our stay, my wife and I both got bad coughs (happily, not COVID). We went to our wonderful local pharmaci … | Continue reading


@feeds.feedblitz.com | 6 months ago

What are your favorite non-violent movies?

From Jonathan Birch on Twitter: What are your favourite nonviolent movies? I don’t mean romcoms, I mean movies that in some way exemplify or explore the idea of nonviolence. Sorry, but Gandhi doesn’t do it for me. What actually comes to mind is that old Bruce Dern movie Silent Ru … | Continue reading


@feeds.feedblitz.com | 6 months ago

What I’ve been reading

1. Alexander C.R. Hammond, Heroes of Progress: 65 people who changed the world, with a forward by Steven Pinker. Starts with Gutenberg, of course Norman Borlaug is included, don’t forget Cobden, Bentham, Frederick Douglass, and many others. An Auto-Icon to those who spurred progr … | Continue reading


@feeds.feedblitz.com | 6 months ago

Solving Spring Data JPA ConverterNotFoundException: No converter found

Learn how to resolve the Spring Data JPA ConverterNotFoundException: No converter found. | Continue reading


@feeds.feedblitz.com | 6 months ago

Map LocalDateTime to Instant in MapStruct

Learn how to map LocalDateTime to Instant and vice versa using MapStruct. | Continue reading


@feeds.feedblitz.com | 6 months ago

Merge Multiple PDF Files Into a Single PDF Using Java

Learn how to merge PDFs using Apache PDFBox and iText. | Continue reading


@feeds.feedblitz.com | 6 months ago

Comparison Between Flux.map() and Flux.doOnNext()

The Flux object in reactor allows us to map elements as well as perform operations on them using doOnNext. We look at the differences between mapping and doOnNext. | Continue reading


@feeds.feedblitz.com | 6 months ago

Using @Autowired and @InjectMocks in Spring Boot Tests

Explore how to use Spring Boot's @Autowired and Mockito's @InjectMocks while injecting dependencies in Spring Boot tests. | Continue reading


@feeds.feedblitz.com | 6 months ago

What exactly is the national security argument here?

Janet Yellen, the US treasury secretary, has urged the EU to intervene urgently to dampen the growing export levels of Chinese cut-price green technology including solar panels and wind turbines, pushing European leaders to move to a full-scale trade war. Here is the full story. … | Continue reading


@feeds.feedblitz.com | 6 months ago

I Need a New Camera

I attended the Lehigh University graduation over the weekend. A cousin and his wife (he and I grew up seeing each other often, so he's like 2/3rds cousin and 1/3rd brother) invited me to join their family for his son's... Related Stories Saturday's Kentucky Derby Hopefuls (OT) An … | Continue reading


@feeds.feedblitz.com | 6 months ago

A New Graduate in the Family

I attended the Lehigh University graduation over the weekend. My cousin John and his wife Heather (John and I grew up seeing each other often, so he's like part cousin and part brother) invited me to join their family for... Related Stories Saturday's Kentucky Derby Hopefuls (OT) … | Continue reading


@feeds.feedblitz.com | 6 months ago

Tuesday assorted links

1. Anthony Edwards jersey for sale at Sotheby’s at 20k. 2. On the disbanding of AI safety operations. 3. On the heritability of fertility, more from Robin Hanson. And Cremiaux differs. 4. It seems the House Republicans’ crypto bill will proceed. Maybe that is why ether was up 23% … | Continue reading


@feeds.feedblitz.com | 6 months ago

Cross-border gunshot arbitrage markets in everything, Jean Baudrillard gone wrong edition

Federal prosecutors on Friday announced charges against five people in connection with a Chicago-based scheme that staged armed robberies so the purported victims could apply for U.S. immigration visas reserved for legitimate crime victims… Officials believe hundreds of people, i … | Continue reading


@feeds.feedblitz.com | 6 months ago

Is the internet bad for you?

A global, 16-year study1 of 2.4 million people has found that Internet use might boost measures of well-being, such as life satisfaction and sense of purpose — challenging the commonly held idea that Internet use has negative effects on people’s welfare. “It’s an important piece … | Continue reading


@feeds.feedblitz.com | 6 months ago

Emergent Ventures, 34th cohort

Kaavya Kumar, 16, Singapore, AI safety. Asher Ellis, Yale, Indonesia studies and Pacific national security. Sohi Patel and Teo Dimov, Yale, to work work on medical devices in the cardiovascular field. Diego Sanchez de la Cruz, Madrid, to translate his new book on liberalism in Ma … | Continue reading


@feeds.feedblitz.com | 6 months ago

Monday assorted links

1. George Miller talks movies, silent movies, Mad Max, and Furiosa (New Yorker). 2. In this Greg Clark study, fertility seems not very heritable. 3. Mennonites smuggle illegal drugs from Mexico to Canada. 4. Yes the Fed is subject to political pressure. 5. “Ironically, the best h … | Continue reading


@feeds.feedblitz.com | 6 months ago

An Impromptu Documentary Project

Next, we skip to the end of June, 2014. This was really cool to watch. I was still living in Waukesha (WALK-uh-shaw), Wisconsin, and presented a purely documentary project, all shot on the same day, of the installation of a... | Continue reading


@feeds.feedblitz.com | 6 months ago

Monitor a Spring Boot App Using Prometheus

A quick and practical guide to monitoring a Spring Boot application using Prometheus. | Continue reading


@feeds.feedblitz.com | 6 months ago

Clear Managed Entities in JPA/Hibernate

Review how entities are managed in JPA and explore a scenario where the persistence context may not return fresh data due to external changes. | Continue reading


@feeds.feedblitz.com | 6 months ago

Convert Between CLOB and String in Java

Explore why converting between the CLOB and String objects is often necessary when reading from or writing to databases. | Continue reading


@feeds.feedblitz.com | 6 months ago

How to Convert XML to PDF

A quick and practical guide to converting XML to PDF in Java. | Continue reading


@feeds.feedblitz.com | 6 months ago

Get the Indices of an Array After Sorting in Java

Explore effective methods in Java for finding the original indices after sorting. | Continue reading


@feeds.feedblitz.com | 6 months ago

Difference Between Iterator.forEachRemaining() and Iterable.forEach()

Explore Iterator.forEachRemaining() and Iterable.forEach() to iterate over elements in a collection. | Continue reading


@feeds.feedblitz.com | 6 months ago

Finding the Next Higher Number With the Same Digits

Learn how to find the next higher number with the same set of digits as the original number in Java. | Continue reading


@feeds.feedblitz.com | 6 months ago

Innovation Matters

Innovation Matters a podcast of the United Nations Economic Cooperation and Integration Group interviews me on matters related to innovation. If productivity growth had continued on the WWII-1973 track we would today be living in the world of 2097 rather than the world of 2024. T … | Continue reading


@feeds.feedblitz.com | 6 months ago

Late Admissions

NYTimes: Glenn C. Loury’s new book, “Late Admissions,” is unlike any economist’s memoir I have ever read. Most don’t mention picking up streetwalkers. Or smoking crack in a faculty office at Harvard’s Kennedy School — or in an airplane at 30,000 feet. Or stealing a car. Or having … | Continue reading


@feeds.feedblitz.com | 6 months ago

*Unit X*

The subtitle of this new and excellent book is How the Pentagon and Silicon Valley are Transforming the Art of War. It is written not by journalists but two insiders to the process, namely Raj M. Shah and Christopher Kirchoff. Here you can read about Eric Schmidt, Brendan McCord, … | Continue reading


@feeds.feedblitz.com | 6 months ago

Do Photographers Have It Better or Worse in the Age of the Internet?

The post right next to yesterday's, "My Somber Day Yesterday," is interesting too. It doesn't stand alone very well, but it was educational to consider whether photographers have it better or worse in the age of the internet. I argued... | Continue reading


@feeds.feedblitz.com | 6 months ago

Editing Issues: How Do You Know You Don't Throw the Best Ones Out?

Mike the Ed. and DL* is going to take a couple of days off. But in the meantime I'll propose to you an article from ten years ago, May 2014, called "Subtle Dilemma." I think the comments about about 60%... | Continue reading


@feeds.feedblitz.com | 6 months ago

Half-Frame (and Other Half-Baked Thoughts About New Film Cameras)

I think it's great that my readers schooled me about half-frame after I put it down the other day, citing people who used it and books made with it, and even W. Eugene Smith appearing in ads for it. Y'all... Related Stories The Two Requests Open Mike: I Go To Wander and Hope (OT) … | Continue reading


@feeds.feedblitz.com | 6 months ago

Monkey Coffin (More Troubles With Terminology, Dept.)

Ich bin kein Affensarg In film days: Printer: Human person who made prints, usually a darkroom worker making photographs on light-sensitive paper. Also, in commercial parlance, a person who operates a large printing-press, also called a pressman. Printmaker: Artist or... | Continue reading


@feeds.feedblitz.com | 6 months ago

Too Soon Alt, Too Late Schmardt (OT)

The title above was the apophthegm on a needlepoint panel on a wicker handbag I saw, from the sidewalk, in a shop window in Harbor Springs, Michigan, in the 1980s. I was young then, but now that I'm alt (the... Related Stories Editors Needed Everywhere (OT) Open Mike: Those Wonde … | Continue reading


@feeds.feedblitz.com | 6 months ago

Add an Aggregation to an Elasticsearch Query

Discover how to request data with aggregated information in Elasticsearch. | Continue reading


@feeds.feedblitz.com | 6 months ago

Understanding Maven Dependency Graph or Tree

Learn how to create a Maven dependency tree, filter dependencies, and create output in different formats. | Continue reading


@feeds.feedblitz.com | 6 months ago

Check if Two Strings Are Permutations of Each Other in Java

Explore some algorithms for checking whether a string is a permutation of another string. | Continue reading


@feeds.feedblitz.com | 6 months ago

Git Integration in IntelliJ IDEA

Learn how to use IntelliJ's integration with the Git version control system. | Continue reading


@feeds.feedblitz.com | 6 months ago

Logging SQL Queries to the Console in Mybatis

We can configure Mybatis to log queries and results. In this article, we look at how this works and how to fine-tune the logging. | Continue reading


@feeds.feedblitz.com | 6 months ago

Monochrome Sensor versus Color Files Converted

Unless you frequent the Pentax Forums, you might not have seen this link. TOP reader Chris Feola emailed it to me the other day: Your musings as you decided on your monochrome camera helped me decide to take the leap... Related Stories Back to Basics by Ctein Open Mike II: It Onl … | Continue reading


@feeds.feedblitz.com | 6 months ago

Apache Commons Tutorial

Learn how to work with Apache Commons projects. | Continue reading


@feeds.feedblitz.com | 6 months ago

The Upcoming Pentax Film Camera Project

Dave Etchells, the former head honcho at Imaging-Resource, which was a major source of information online during the Digital Transition (DT), published, not long ago, an excellent group interview with a number of engineers from Ricoh who are involved in... Related Stories A Great … | Continue reading


@feeds.feedblitz.com | 6 months ago

Supply Enum Value to an Annotation From a Constant in Java

Learn about Java's limitations in supplying an enum value from a constant to an annotation and explored our alternatives. | Continue reading


@feeds.feedblitz.com | 6 months ago

Monads in Java

Learn about monads and how they can help deal with effects. | Continue reading


@feeds.feedblitz.com | 6 months ago

Check if a Number Is Power of 2 in Java

Explore a few ways to determine if a number is a power of 2 in Java. | Continue reading


@feeds.feedblitz.com | 6 months ago