AI is increasingly part of everyday work, and it really does make things faster. But I have noticed something uncomfortable: as work gets quicker, people seem to pay less attention to priorities.
It is particularly noticeable when assigning work and proposing requirements. New features keep getting added, and existing ones keep changing. AI is fast, so we might as well build it and see. Everyone stays busy and output keeps coming, yet it becomes difficult to sit down and think about where we should actually be heading.
We used to worry about moving too slowly. Now I am starting to worry that we are too busy walking to look ahead.
I recently came across an open-source project worth sharing: OpenIDEA. If you are used to IntelliJ IDEA’s shortcuts, tool windows and search workflows, and want to try a lighter development tool, it is worth a look.
The version I run on Windows uses roughly 600 MB of memory, including the main program and its WebView2 child processes. I have also made a small customization to suit my workflow.
Asking AI to change a feature usually involves more than typing a request. You choose a project and branch, inspect changed files, run tests and open the application to check its behavior. With several tasks underway, you also switch between terminals and conversations.
Paseo organizes these activities in one workspace interface. It uses installed coding agents underneath, provides projects, workspaces, conversations and result inspection above them, and lets a phone connect to the same development environment. I mentioned it in my post on choosing and adapting development tools. This article focuses on its features and practical uses, followed by a shorter account of my customizations.
I recently came across Xiaomi-OCR-0, an open model from Xiaomi with just 0.8B parameters that handles document parsing, text recognition and document question answering. It prompted me to put together a shortlist: what small models are worth considering if you want to run AI on a laptop, desktop or ordinary server?
Beyond chat, there are small models for recognizing scans, transcribing recordings and searching documents. Some have fewer than a billion parameters and can support a local tool built around one specific function. The candidates below are grouped by purpose, with links to official sources.
Yesterday I wrote about organizing AI development across projects and tasks with an aggregate workspace. Once projects and tasks are organized, another question remains: which tools will AI actually use to do the work? Recently, I have replaced or adapted several long-standing tools, settling on Paseo, DBX, Zed and Tabby. This is not a feature ranking. It is an account of why I chose them and what I had to improve to make them work together.
Recently, I brought several projects I maintain into an aggregate workspace. The aim was to give AI a single entry point for changes spanning repositories, while letting me work on several tasks at once. Putting the directories together turned out to be only the beginning. I also needed to decide how to find the right project, where to change code, how to resume a task, and what counts as finished. Here is the approach I use today.
A table in one of the systems I maintained occupied about 260 GB. Roughly half its data had been deleted to meet business compliance requirements, yet disk usage had barely fallen. With only about 20% free space left, we planned to rebuild the table during a system upgrade window.
The operation took about two hours and forty minutes and reduced the table to about 130 GB. Traffic resumed earlier than expected, and disk usage temporarily reached 93%. Those changes during the operation are as useful to understand as the final space saving.
After a vulnerability scan, a project needed a newer MySQL Java driver. I changed mysql-connector-java from 5.1.24 to 8.0.28 and then encountered java.sql.SQLException: validateConnection false.
Connections recovered after Druid was changed to 1.2.12. That recovery alone does not establish the root cause, however, and it cannot define a general compatibility matrix.
When migrating from Fastjson 1.x to Fastjson2, I separated two concerns: standardizing Spring MVC responses on Jackson, and moving internal JSON utility calls to Fastjson2. This allowed the API protocol and utility behavior to be verified independently, reducing the scope of each change.
Custom functions in Jxls templates can format dates and amounts or perform small presentation calculations. If an upgrade makes functions disappear, inspect expression-engine namespace configuration before changing every template.
A project needed users to record video on a mobile web page and upload it for staff review. A clip lasting only tens of seconds could exceed 100 MB. Upload delays, retry behavior and browser playback compatibility each needed their own design.
Mock services let frontend and backend development proceed in parallel by returning agreed responses before the backend is complete. Easy Mock is one tool I have used. The real artifact to maintain is the contract, rather than a collection of plausible JSON.
When a production job failed to generate a report for the requested date, I used Arthas to inspect the running code and method arguments. The investigation eventually narrowed the problem down to the parameter text. It is a small example of avoiding repeated logging changes and deployments during diagnosis.
When an open-source project needs repositories on both GitHub and Gitee, configure separate remotes or multiple push URLs on one remote. The choice mostly depends on whether you need to inspect each repository’s state independently.
Frontend validation gives users prompt feedback; backend validation enforces the constraints on data entering the application. A checked web form does not prevent another client from calling the API directly, so server-side validation remains necessary.
Admin applications repeatedly need CRUD operations, filters and pagination. I have tried putting shared behavior into Repository and Service abstractions. The goal should be to remove stable duplication, rather than make every business feature inherit an ever-growing parent class.
Business records often need creation and modification timestamps and the identities of their creators and editors. Spring Data JPA auditing can maintain these fields automatically, provided entity listeners, auditing infrastructure and the current actor source are configured together.
I built an online PDF merger to combine course handouts for reading. The service is now offline, but input ordering, page copying and failure cleanup still illustrate useful file-processing service design.
A paginated API returned an organization as a complete org object in its first row, then as $ref in later rows. Frontend code reading org.name failed. Understanding this requires separating association loading from the serializer’s representation of shared objects.
When a new product needed an admin interface quickly, I adapted Guns instead of building every page from scratch. Other services already used Spring Data JPA, so I moved the admin data-access layer to JPA as well, aiming to reduce the cost of maintaining two data-access approaches.
Releasing a WeChat Mini Program from scratch requires accounts, backend APIs, real-device testing and review materials as well as pages. Identifying these dependencies early avoids finishing the code while still being unable to release.
A Jenkins build listed many dependencies, but its most specific clue was Could not find metadata org.jetbrains:annotations-java5/maven-metadata.xml. Finding the actual failing artifact is more effective than immediately deleting the entire local repository.
A large refactoring caused an outage after deployment, leaving the service unavailable for about seven hours across the incident and rollback. Meanwhile, new features frequently failed testing or differed from the requested behavior. These experiences changed how I think about efficiency in a small team: time saved during coding can be paid back many times over in integration, deployment and rework.
Garbled Chinese responses in Spring MVC require checking the Java string, message converter and HTTP encoding together. Strings and objects may use different converters. A historical default charset does not describe every Spring Boot application’s effective configuration.
Local Jekyll preview helps catch Chinese-path, code-formatting and configuration problems before publication. On Windows, the key is keeping Ruby, build tools, Bundler and project dependencies aligned.
Spring AOP moves cross-cutting behavior such as logging and timing outside business methods. The essentials are which methods are intercepted, when advice executes, and how original return values and exceptions are preserved.
Nutz logging provides a common interface and adapters for concrete outputs. The important paths are how business code obtains a logger and how runtime selection chooses an adapter. This uses 1.b.53; adapter lists and priorities must not be inferred across versions.
With Nginx forwarding requests and Jetty running a Java application, public static resources can be served directly by Nginx. This reduces that work on the application server. Measure request volume, latency and resource use to determine the overall improvement.
Upgrading Elasticsearch from 1.4.4 to 2.3.4 affected more than the server: the JDK, service account, discovery configuration, plugins and Java client all changed. These layers need verification as one compatibility chain.
Nutz Mirror wraps common reflection work involving types, fields, methods and object creation. It helps explain how frameworks map external data into objects, but does not bypass every access restriction. This discussion is based on 1.b.53.
Streams wraps stream reading and writing, while Files handles paths and filesystem operations. Combining them produces short calls, but ownership and path resolution remain explicit concerns. This article follows Nutz 1.b.53.
A MongoDB replica set stores the same dataset on multiple members and elects a new primary when the existing one becomes unavailable. It primarily provides redundancy and failover. Sharding distributes data across shards; the two can be combined but serve different purposes.
Numeric and date utilities may require only a few lines at call sites, yet boundary errors flow directly into reports and business decisions. Reading Nutz 1.b.53 Nums and Times, I focus on range, time reference and concurrency rather than judging importance by class length.
It is easy to mistake an application-specific character classification for Unicode’s complete definition. Nutz 1.b.53 Strings offers Chinese-character, full-width/half-width and case helpers. Understanding them starts with whether an API accepts a char or a complete code point.
MongoDB stores BSON documents and supports organizing nested fields and arrays around business objects. Documents need not have identical structures, but flexible schemas still require field meanings, types and validation rules. Otherwise query and maintenance costs rise over time.
A product needed to merge company data from several sources by a unique identifier, at a scale of roughly 30 million records, and support multidimensional search and aggregation. We stored the merged documents in MongoDB and built search indexes in Elasticsearch, with a separate synchronization pipeline connecting them.
For a startup, choosing cloud services is about concentrating limited engineering time on business differences. Managed services may reduce deployment and maintenance work, but evaluate bills, staff time and incident responsibility together.
Some Java string APIs accept literal text, while others accept regular expressions. Similar names can conceal different argument semantics. A dot used as a split delimiter is a particularly common source of surprises.
When production Elasticsearch reports OutOfMemoryError: Java heap space, heap sizing deserves investigation. A successful restart alone is insufficient, however. Query parameters in the error may reveal a request pattern that continues consuming memory.
org.nutz.lang wraps common JDK operations in shorter interfaces. To understand a utility, examine both the duplication it removes and any changes to error, null and cleanup semantics. This uses Nutz 1.b.53 as its baseline.
After tracing GET, POST bodies, file uploads and cookies reveal how a lightweight HTTP tool handles state and resources. This continues with Nutz 1.b.53. Its timeout constants should not be generalized to every release.
A thread pool simplifies thread creation and reuse. We still need to decide how tasks are queued, how failures are collected and how the program waits for completion. This article connects those concerns through a batch text-file example.
Building Nginx from source can provide a fixed installation path or selected modules. Compared with package-manager installation, it also leaves you responsible for versions, dependencies, service definitions and upgrades. Compilation is only the first step.
Nutz HTTP wraps request construction, connections and responses in a small set of classes. Following a GET shows how convenience methods reach the JDK’s networking APIs. This article uses the 1.b.53 implementation.
After security hardening on a test server, GitLab returned HTTP 500. Application logs pointed to Redis. Its process was running and its port listening, yet redis-cli connecting to loopback reported No route to host.
An expression engine turns condition text into a result. Nutz EL can be understood by following token recognition, precedence handling and evaluation rather than memorizing package names. These examples use 1.b.53.
SQLite embeds a database engine inside an application without a separate database server. It suits local tools, desktop applications and devices with structured data. Select it based on access patterns and concurrency rather than a blanket claim that it is faster than other databases.
Updating a nested field often means traversing Maps and Lists manually. Nutz MaplRebuild encapsulates path handling, while MaplMerge combines structures. Their related appearance should not obscure their separate semantics. This discussion uses 1.b.53.
Restoring Java objects from Map/List structures requires both source values and target types. ObjConvertImpl in Nutz 1.b.53 separates recursive container injection from leaf conversion. These two layers provide a clearer reading path than following every conditional individually.
Mapl uses Map and List as structural containers for reading, converting and modifying objects by path. It does not require every leaf to become another Map or List: values such as numbers and strings can remain leaves. This follows ObjCompileImpl in Nutz 1.b.53.
Null handling, field names and date formats become part of an API contract. Nutz expresses these policies through annotations and JsonFormat. Follow configuration through to the renderer that actually uses it. This article is based on 1.b.53.
Nutz JSON handles both JSON text and Java types and fields. Separating parsing from rendering makes each layer’s responsibility easier to understand. This discussion uses version 1.b.53 as its source baseline.
Slow data collection does not always mean slow HTTP requests. In one case, initialization stalled because we allocated proxy resources incorrectly: shared configuration was treated as an exclusively owned resource and assigned too early to individual collectors.
When a server reported Packet for query is too large, I initially thought increasing max_allowed_packet would be enough. The configuration file had already been changed, yet a query still showed a small value. This incident illustrates why file configuration, the running global value and the current connection’s session value must be checked separately.
When reading the Nutz source, I started with utility modules and followed their use inside the framework. This reviews Java fundamentals while showing how reflection, conversion and I/O combine into higher-level features.
Chinese search requires converting continuous text into indexable terms. IKAnalyzer dictionaries and segmentation strategies affect results. Integration therefore needs to verify business terms, rather than merely make the code run.
Redis Cluster distributes a keyspace across nodes and uses replication and failover to improve availability. This Redis 3.0.5 example explains a six-process learning setup. Six processes on one machine are not a production high-availability deployment.
HTTP requests and parsing code are only the middle of a company-data collection workflow. Without clear scope, field meaning and acceptance criteria, successfully downloaded pages can still produce unusable data.
Running out of disk in a VirtualBox Linux guest involves three layers: virtual media capacity on the host, partitions or logical volumes in the guest, and filesystem capacity. Expanding only the first layer usually does not change Linux df output automatically.
Firewall diagnosis starts with the packet’s chain, followed by rule order. These basics use the CentOS 6.5-era iptables filter table. Other systems may use firewalld or nftables; do not mix persistence mechanisms.
Spoon is the graphical transformation and job designer in Pentaho Data Integration. A small CSV-to-fields-to-XML flow illustrates how records pass between steps and where cleaning failures should go.
Elasticsearch builds on Lucene to provide document indexing and search. Start by understanding indexes, field mappings, analyzers and queries rather than relying on a management plugin to produce results.
Redis offers more than a string cache. Its data structures support counters, deduplication, ranking and simple queues. Understand command boundaries before deciding how these structures fit business data.
MySQL replication must connect a consistent data baseline to the binlog position corresponding to that baseline. Configuring a host and starting two threads does not establish that existing data and subsequent changes are complete.
Moving a MySQL data directory involves more than copying files to another disk. Service configuration, ownership, parent-directory permissions and SELinux labels all affect access. This workflow uses a CentOS 6.5 and MySQL 5.6 maintenance scenario; adapt service commands to the actual installation.
Linux bonding combines interfaces into a logical interface for redundancy or load sharing. It is not exclusive to CentOS and does not automatically move an IP between servers. Identify the failures to tolerate before selecting a mode.
Nginx access logs can identify sources making many requests in a short period, but high volume alone does not establish malicious behavior. Shared gateways, search engines, monitoring and frontend assets all produce traffic. Finding candidates first and applying business rules afterward gives better control over false positives than immediately adding IPs to a firewall.
A desktop search tool has a simple brief: read text files from a directory, index them, and return filenames and paths for keywords. The important details are repeated indexing, changed files, encoding and search-resource lifecycles.
BSON is a binary document format with type information. The clearest introduction is a small document whose lengths, field names and values can be matched byte by byte. It should not be treated as compressed JSON text.
A single-session-per-account requirement first needs a conflict policy: replace the previous login or reject the new one. This article discusses replacement, distinguishing session enumeration in one process from coordinated control across multiple instances.
The most useful distinction I found while reading Lucene in Action was between building an index and searching it. Lucene is an embedded retrieval library, not a complete search server with its own HTTP interface.
While reading about high-performance websites, I treated caching, load balancing and database scaling as choices at different points in one request path. They solve different problems. Locating the bottleneck first establishes where an investment is useful.
Jsoup parses HTML into a Document and extracts data with DOM methods or CSS selectors. It also offers HTTP requests, but does not execute JavaScript like a browser. The server’s HTML may therefore differ from the page eventually displayed in a browser.
Monitoring rules sometimes need several collected values, string comparisons or dynamic parameters rather than one fixed threshold. BeanShell embeds script execution in Java and provides a useful way to explore configurable rules.
For a PDF containing photos and text, an outer table can arrange cards while each card contains its image and caption. Defining paper size, columns, fonts and scaling beforehand produces a more controlled layout than appending images individually.