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
Explore the fundamentals of code analysis, learn about Infer's capabilities, and get practical insights into incorporating it into your development workflow. | Continue reading
In this quick tutorial, we'll compare CompletableFuture and Mono from Project Reactor in Java, focusing on how they handle asynchronous tasks. | Continue reading
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
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
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
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
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
Learn how to resolve the Spring Data JPA ConverterNotFoundException: No converter found. | Continue reading
Learn how to map LocalDateTime to Instant and vice versa using MapStruct. | Continue reading
Learn how to merge PDFs using Apache PDFBox and iText. | Continue reading
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
Explore how to use Spring Boot's @Autowired and Mockito's @InjectMocks while injecting dependencies in Spring Boot tests. | Continue reading
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
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
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
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
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
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
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
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
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
A quick and practical guide to monitoring a Spring Boot application using Prometheus. | Continue reading
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
Explore why converting between the CLOB and String objects is often necessary when reading from or writing to databases. | Continue reading
A quick and practical guide to converting XML to PDF in Java. | Continue reading
Explore effective methods in Java for finding the original indices after sorting. | Continue reading
Explore Iterator.forEachRemaining() and Iterable.forEach() to iterate over elements in a collection. | Continue reading
Learn how to find the next higher number with the same set of digits as the original number in Java. | Continue reading
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
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
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
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
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
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
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
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
Discover how to request data with aggregated information in Elasticsearch. | Continue reading
Learn how to create a Maven dependency tree, filter dependencies, and create output in different formats. | Continue reading
Explore some algorithms for checking whether a string is a permutation of another string. | Continue reading
Learn how to use IntelliJ's integration with the Git version control system. | Continue reading
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
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
Learn how to work with Apache Commons projects. | Continue reading
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
Learn about Java's limitations in supplying an enum value from a constant to an annotation and explored our alternatives. | Continue reading
Learn about monads and how they can help deal with effects. | Continue reading
Explore a few ways to determine if a number is a power of 2 in Java. | Continue reading