SShortSingh.
Back to feed

Keyboard shortcuts for a Uniface 10 invoice form built on existing triggers

0
·6 views

A Uniface customer app's invoice list form had grown to about 50 buttons, and daily users asked for keyboard access. The keyboard translation table and .ini file could not be changed because other forms and applications share them. Uniface already maps function keys to structure editor functions, so the developer wrote component triggers for retrieve, store, clear and erase that call the same routines as the buttons. Erase was deliberately blocked, since Shift+F3 sits next to Shift+F2 and could reverse a payment by accident. A clear-filters routine and a help button listing the keys completed the setup, which was tested on Rocket Uniface 10.4.03 with SQLite.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Study Shows Claude Can Insert Backdoors into Vision-Language Models via Weight-Space Programming

A new arXiv paper reports that Claude can directly insert backdoors into vision-language models (VLMs) using weight-space programming. The research is posted as a preprint, indicating it has not yet been formally peer-reviewed. The technique operates by modifying the model's internal weights rather than its training data or prompts. The work highlights potential security risks in how multimodal AI systems could be tampered with. The source material is a brief Hacker News link with limited detail beyond the paper's title and URL.

0
ProgrammingHacker News ·

Engineer argues failover systems only work reliably if exercised regularly

A post on bencane.com contends that failover mechanisms function well only when they are used frequently. The author suggests that rarely triggered failover paths tend to degrade unnoticed and fail when they are actually needed. Regular, routine use is presented as the way to keep these systems dependable. The piece was shared on Hacker News, where it drew a small amount of attention with six points and no comments at the time of capture.

0
ProgrammingDEV Community ·

Paying Per Answer via Telegraph from Node, With Checks and Re-Buys When Wrong

A machine that buys data needs a way to pay per answer, a way to judge whether an answer is right, and another source to buy from when it is not. The Telegraph testnet provides payment and re-buying, and records every purchase publicly. A tutorial file of about 120 lines, using one dependency (viem), walks through building all three against the testnet node. The example addresses a case where two weather providers both returned confident, well-formed answers for a farm town, but one answered for the wrong location, which could mislead a spray drone. Setup requires Node 24, a testnet-only wallet funded with test tokens, and a deposit into the escrow contract, with each answer costing about one cent.

0
ProgrammingDEV Community ·

Node.js Image Review: Bounding Retention and Notifying Uploaders After Outcomes

The article explains how a logistics uploader's delivery photos can pile up storage, transfer, and processing costs when review pipelines keep full-size images. Its worked example assumes 10,000 photos a day at 4 MB each, showing a full review pass moves about 40 GB, versus 4 GB for a proposed 0.4 MB derivative. The author stresses that these are planning figures rather than measured results, and that a smaller derivative is only safe after checking that required text such as shipment labels survives OCR. Recommended practice includes queuing review work by internal image identifier, keeping originals in private storage behind short-lived access links, and treating link expiry as distinct from deletion. The Express request should return once the review work is durably accepted, and the uploader should be notified after both publish and reject outcomes.