Finding the Second Smallest Integer in an Array in Java

Explore a few approaches to finding the second smallest number in an array. | Continue reading


@feeds.feedblitz.com | 6 months ago

The Photobook Hypothesis

Hypothesis: No one* has ever had enough space for photography books. Theoretical explanation: Given shelving of any capacity, whether a yard or a mile, photobooks fill 110% of that space. Corollaries: Culled, de-accessioned, and discarded photobooks are immediately replaced at... … | Continue reading


@feeds.feedblitz.com | 6 months ago

Open Mike: Own Work

When I asked for suggestions for topics yesterday, Todd Scholten wrote: "Get out. Go take some photos. Come back and write about them and why and how you took them. Inspire us to do the same." Several other people similarly... Related Stories Open Mike: Those Wonderful Sit-Stand … | Continue reading


@feeds.feedblitz.com | 6 months ago

The Two Requests

Just thought I'd point out that both of these comments came in yesterday when I asked for topic suggestions—not one right next to the other, but close. I've left Jozef's capitalizations alone: James Sinks (partial comment): "Probably a polarizing answer,... Related Stories Open M … | Continue reading


@feeds.feedblitz.com | 6 months ago

Introduction to JavaParser

A quick and practical guide to JavaParser. | Continue reading


@feeds.feedblitz.com | 6 months ago

Get the First and the Last Elements From an Array in Java

Learn how to access the first and last elements of a Java array. | Continue reading


@feeds.feedblitz.com | 6 months ago

What Would You Like to See Here? (Blog Note)

Well, I've been spluttering along on a depleted tank the past couple of days. I've written three half-posts that didn't seem to want to spark up and kick over. Those come along from time to time, but three is more... Related Stories Mike's Back (Blog Note) 3D Printing? Recombobul … | Continue reading


@feeds.feedblitz.com | 6 months ago

What I Ended Up Doing

Despite the hand-wringing of the past few days, I ended up buying SanDisk cards anyway. Dan Ariely, in Predictably Irrational, a book about consumer choice, says that consumers like to follow other consumers. If a lot of people buy Canons,... Related Stories Price Comparison for … | Continue reading


@feeds.feedblitz.com | 6 months ago

Convert a Queue to a List

Learn various ways to convert Queue to List in Java. | Continue reading


@feeds.feedblitz.com | 6 months ago

Price Comparison for Top SD-Type Cards

The following is a simple price comparison between brands of SD-type cards in early May 2024. Two stars for mid-price, one star for low price, three stars for high price. These prices are for top-spec V90 cards with a lower-end... Related Stories ProGrade and Angelbird Where Do A … | Continue reading


@feeds.feedblitz.com | 6 months ago

Convert Jackson JsonNode to Typed Collection

Explore different methods of converting Jackson's raw data type JsonNode into typed Java collections. | Continue reading


@feeds.feedblitz.com | 6 months ago

How to Iterate a List of Maps in Java

Explore various techniques for iterating through a List of Maps in Java. | Continue reading


@feeds.feedblitz.com | 6 months ago

Convert an Optional to an ArrayList in Java

Explore various approaches to converting Optional to ArrayList. | Continue reading


@feeds.feedblitz.com | 6 months ago

Using Reactor Mono.cache() for Memoization

In this tutorial, we learn about memoization and demonstrate how to use Mono.cache() from the Project Reactor. | Continue reading


@feeds.feedblitz.com | 6 months ago

Full and Partial Text Search in MongoDB

Explore how to do full and partial text searches in MongoDB. | Continue reading


@feeds.feedblitz.com | 6 months ago

Inheritance vs. Composition in JPA

Explore the fundamental differences between inheritance and composition in JPA entity modeling. | Continue reading


@feeds.feedblitz.com | 6 months ago

Converting short to byte[] in Java

Learn how to convert a short value to a byte[] array. | Continue reading


@feeds.feedblitz.com | 6 months ago

OpenAPI Custom Generator

Learn the steps required to create a custom generator for the OpenAPI generator tool. | Continue reading


@feeds.feedblitz.com | 6 months ago

Save Child Objects Automatically Using JPA

Learn how to save child objects automatically with JPA. | Continue reading


@feeds.feedblitz.com | 6 months ago

Fix Spring Boot H2 JdbcSQLSyntaxErrorException “Table not found”

This tutorial explores addressing the "Table not found" error in H2 databases, commonly encountered in Spring Boot applications. You can mitigate this issue by configuring H2, mapping entities, and managing data with JPA repositories. | Continue reading


@feeds.feedblitz.com | 6 months ago

Collecting into Map using Collectors.toMap() vs Collectors.groupingBy()

Learn about the difference between toMap and groupingBy when collecting a Java Stream into a Map. | Continue reading


@feeds.feedblitz.com | 6 months ago

ProGrade and Angelbird

I've been delving more deeply into SD cards since two days ago, and it's a bit like digging in ground that has a lot of buried rocks. (Ever had to do that? It's difficult). I'm not getting very far, I... Related Stories Where Do All the Cards and Pens Go? Open Mike II: It Only Ma … | Continue reading


@feeds.feedblitz.com | 6 months ago

Saturday's Kentucky Derby Hopefuls (OT)

Guest post by Bryan Geyer Well, we’re on the brink of another Kentucky Derby, and this year has suddenly shifted from ho-hum to potential sensation. The three-year-old colts of this season all looked rather dreary, lacking anything special. There was... Related Stories Ansel Stam … | Continue reading


@feeds.feedblitz.com | 6 months ago

Change of Plan (Blog Note)

Since the horse race is tomorrow and B&H Photo is closed tomorrow all day, I'm going to switch the order of the next posts and publish Bryan's Kentucky Derby article tonight and the new SD card article tomorrow evening or... | Continue reading


@feeds.feedblitz.com | 6 months ago

The Week of the Yellow Dandelions

Wednesday's riddle: What has four letters, sometimes has nine, and never has five The answer is "yes, that's right." Our friend Darlene answered correctly and she wins five life points. (Life points are Oren's system of cosmic reward. I don't... Related Stories Examples of 'Punct … | Continue reading


@feeds.feedblitz.com | 6 months ago

Where Do All the Cards and Pens Go?

Do you know the English young adult novels about the borrowers? It's a charming series of books for tweens and young teens about a race of miniature people who live in the unseen spaces in houses and account for all... Related Stories Open Mike II: It Only Makes Sense Honesty. Is … | Continue reading


@feeds.feedblitz.com | 7 months ago

Mike's Back (Blog Note)

I'm back. Had a very nice weekend. If you're in recovery (I've been sober for 33 years, seven months, and 20 days), I recommend looking into whether there is a recovery convention anywhere near you. They're lots of fun and... Related Stories 3D Printing? Recombobulation Lack of P … | Continue reading


@feeds.feedblitz.com | 7 months ago

False Necessity is the Mother of Dumb Invention

Recently, I have seen two innovations in retail, AI cashiers and human cashiers but working remotely from another country such as the Philippines and making much lower wages than domestic workers (examples are below). I fear that the AI cashiers will outcompete the Philippine cas … | Continue reading


@feeds.feedblitz.com | 7 months ago

Updated estimates on immigration and wages

In this article we revive, extend and improve the approach used in a series of influential papers written in the 2000s to estimate how changes in the supply of immigrant workers affected natives’ wages in the US. We begin by extending the analysis to include the more recent years … | Continue reading


@feeds.feedblitz.com | 7 months ago

Dean Ball on the new California AI bill (from my email)

SB 1047 was written, near as I can tell, to satisfy the concerns of a small group of people who believe widespread diffusion of AI constitutes an existential risk to humanity. It contains references to hypothetical models that autonomously engage in illegal activity causing tens … | Continue reading


@feeds.feedblitz.com | 7 months ago

On deficient British growth (from the comments)

UK is a finance economy and EU/world ex-US has had terrible stock market performance since then. Germany survived (not thrived) on manufacturing (also better positioned vis-a-vis Eastern Europe), France on luxuries and maybe a bit on tourism, Nordics on oil, Benelux on ??? (not s … | Continue reading


@feeds.feedblitz.com | 7 months ago

Monday assorted links

1. Self-navigating car navigating traffic in India. 2. Do progressive prosecutors lead to higher crime rates? 3. “…we find that consumers form more negative impressions of and are less persuaded by influencers who disable social media comments.” 4. California bill to regulate AI … | Continue reading


@feeds.feedblitz.com | 7 months ago

Public Choice Outreach!

There are just a few spots left for the Public Choice Outreach Conference! This is a great opportunity to hear from excellent speakers including Garett Jones, Peter Boettke, Johanna Mollerstrom and more! The conference is a crash course in public choice. It’s entirely free. Indee … | Continue reading


@feeds.feedblitz.com | 7 months ago

Progress in Argentina?

Monthly inflation in Argentina could fall below 10% in April, a sign that the government’s policies are working, President Javier Milei said Sunday in a phone interview with LN+. “Wages are already starting to beat inflation,” Milei said. “The fight against inflation is yielding … | Continue reading


@feeds.feedblitz.com | 7 months ago

Brexit and trade with the EU (from the comments)

These annecdotes do not reflect the data . From (remain leaning) UK in A Changing Europe https://ukandeu.ac.uk/wp-content/uploads/2024/04/UKICE-Trade-Tracker-Q1-24.pdf UK trade with the EU, as a per cent of total trade in volume terms in Q3 2023, was at its highest levels since Q … | Continue reading


@feeds.feedblitz.com | 7 months ago

Ross Douthat, telephone! (it’s happening)

The Catholic advocacy group Catholic Answers released an AI priest called “Father Justin” earlier this week — but quickly defrocked the chatbot after it repeatedly claimed it was a real member of the clergy. Earlier in the week, Futurism engaged in an exchange with the bot, which … | Continue reading


@feeds.feedblitz.com | 7 months ago

Sunday assorted links

1. Lazarus Lake update. 2. Robin Hanson responds to Scott Alexander. I do not entirely agree with Robin on this one, but his rebuttal beats back the initial critique, which did not much consider overtreatment or medical error. I might add that studies of Christian Scientists and … | Continue reading


@feeds.feedblitz.com | 7 months ago

Forthcoming growth winners?

I haven’t been following these countries closely, so I don’t have any “takes,” but I will start paying more attention: 1. Philippines: Growth has been averaging about six percent a year since 2012 (Economist link, gated). 2. Egypt: Has been averaging four percent a year growth, a … | Continue reading


@feeds.feedblitz.com | 7 months ago

Apportioning the causes of the UK growth shortfall

Take the basic non-growth of the UK economy since 2008 (productivity, real wages, per capita gdp) and compare it to their peer countries (which are those?). If you had to assign the causes of that shortfall to various factors, how would you do it? Recently I had lunch with a few … | Continue reading


@feeds.feedblitz.com | 7 months ago

Why I don’t think the USG will default

Public debt ratios in Portugal and Greece have declined at an unprecedented pace from their pandemic peak. via @DanielKral1 pic.twitter.com/D6Dux8zJsL — Philipp Heimberger (@heimbergecon) April 27, 2024 Greece of course did break the bank, but note the United States is much riche … | Continue reading


@feeds.feedblitz.com | 7 months ago

Saturday assorted links

1. NYT obituary for Michael Jensen. 2. Brain-like computer with water and salt? 3. More on the economics of non-compete agreements. 4. Chile is on a path to TFR of 1.0, and soon. 5. Women now author a majority of the U.S. books published. 6. Jail sentence for climate activist who … | Continue reading


@feeds.feedblitz.com | 7 months ago

Open Mike: Off-Topic Blips

Mike is on "Staycation" today, yesterday and tomorrow. Our regional recovery convention, The Conference of the Lakes, is taking place this weekend right in my backyard in the hamlet of Penn Yan. It's a large gathering with people coming from... | Continue reading


@feeds.feedblitz.com | 7 months ago

Culture splat (a few broad spoilers)

Challengers is a good and original movie. Imagine a 2024 rom com, except the behavior and conventions actually are taken from 2024, and with no apologies. The woman says the word “****ing” a lot, and no one treats this as inappropriate or unusual. There is bisexuality and poly. S … | Continue reading


@feeds.feedblitz.com | 7 months ago

*Native Nations*

The author is Kathleen Duval, and the subtitle is A Millennium in North America. This is an excellent book. Here is one excerpt, strung together by me from three separate pages: By 1400, the cities of Cahokia, Moundville, and the Huhugam were abandoned. People continued to live n … | Continue reading


@feeds.feedblitz.com | 7 months ago

Friday assorted links

1. Nandan Nilekani’s vision for the “Finternet” is to enable individuals to transfer any financial asset, in any amount, at any time, to anyone, anywhere in the world—cheaply, securely, and near-instantaneously. Andy Mukherjee summarizes it here. 2. Claims about Chinese LLMs. And … | Continue reading


@feeds.feedblitz.com | 7 months ago

Java Weekly, Issue 539

Jakarta Data, multimodal LLMs, deprecating Dates in Hibernate, vector API, and Agile as a silver bullet (or not). | Continue reading


@feeds.feedblitz.com | 7 months ago

Post correction and retraction

Apologies! I took down my post based on this tweet, which upon further reflection struck me as premature. Does anyone have actual word from the would-be co-author as to what happened? Note that sometimes individuals don’t want to be co-authors on particular papers, especially if … | Continue reading


@feeds.feedblitz.com | 7 months ago

Hassan Sayed, banned from Princeton?

Hassan Sayed, a fifth year PhD candidate in economics, it seems was banned from Princeton. Ostensibly for partaking in illegal demonstrations. I am not saying whether this is justified or not, as I do not know the circumstances. I can assure you I am fine with “being tough on stu … | Continue reading


@feeds.feedblitz.com | 7 months ago