techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#json

11 posts11 participants0 posts today
Currently appreciating the beauty of JSON (and its mascot?)

I'm working on a little project a lexicon/dictionary called texdict.py (name suggestions welcome). The #python script attempts to convert a #TeXLaTeX file with glossaries commands (https://ctan.org/pkg/glossaries) and some extra commands (which might be released under texdict.sty (or similar name)) into JSON format and vice-versa. JSON is so nice because it's human readable and computer readable.

Do you know of any #LaTeX packages and or #JSON based libraries related to #dictionaries or #lexicon

Also, I thought about using the texdict.sty file as the only source of truth for the tex2json and json2tex mapping, but haven't figured it out yet. Any leads would be highly appreciated 🖤📖
Continued thread

✍️ Handles challenging edge cases like handwritten text in multiple languages with remarkable accuracy where conventional systems completely fail
🎯 Advanced structured data extraction using custom schemas for specific information like financial figures, medical form data and checkbox interpretations
📋 Outputs clean #markdown format with comprehensive #JSON structure including extracted images for enhanced readability and processing capabilities

Replied in thread

@FrancoisPrague
No, probably never. Because #JSON is a primitive data interchange format, XML offers more versatility and reliability.
I like this sentence from the article "XML may not be trendy, but it remains the backbone of system-to-system interoperability" and I fully agree. It is used far more often than other formats, but many people simply don't know the facts. Often young programmers dislike #XML because it's an old format, but that's a silly reason 😬
#programming
@libreoffice

Blender MCP: Finally, your 3D scenes can be as confusing as your latest AI-generated poetry 🤖✨. Now you can watch as a "Large Language Model" turns your artistic vision into a glorious #JSON mess, one TCP packet at a time. Who needs talent when you have buzzwords and a TCP connection? 🚀💾
blender-mcp-psi.vercel.app/ #BlenderMCP #AIArt #3DModeling #TCPConnection #CreativeTech #HackerNews #ngated

blender-mcp-psi.vercel.appBlender MCP - Realtime 3D Control via Model Context ProtocolRevolutionary protocol integration that enables Large Language Models to control Blender scenes in real-time using structured JSON commands over TCP connections.
Continued thread

... Problem with "#awk(1)" parsing the "#df(1)" #JSON output is ...

printf '"name": "space d/dataset"'"\n" \
| awk '/"name":/ { gsub( "(^\"|\",?$)", "", $NF); print $NF }'
d/dataset

... cannot use ":" or whitespace as field separator (for "awk") as either could easily be present in a dataset|clone name. Or, any other string which may be in dataset name cannot be a field separator.

Neither of "df(1)", "#libxo(3)" have nul-separator option. Next best thing is to modify "$0" ...