poppastring, to blogging
@poppastring@dotnet.social avatar

For some reason there has been a lot of recent interest in a blog post I wrote about VB6 and XML 3 circa 2007.

I genuinely feel awful that somewhere in the world that kind of blog post is helpful in the year of our Lord 2024.

#blogging #vb6 #xml

faassen, to rust
@faassen@fosstodon.org avatar

I go to

I figure doing XML in Rust is rather obscure. I queue for lunch, mention it to someone, someone else just ahead of me in the queue says "oh I am working on that too!"

I also chatted to two different speakers at the conference who worked on a different XSLT engine in the past (way before Rust)

jnpn, to emacs
@jnpn@mastodon.social avatar

People are still hacking the old nxml-mode to add more sensible ergonomics

https://borretti.me/article/better-xml-editing-for-emacs

ps: author had a digital friend as support

#emacs #nxml #xml

remixtures, to TechnicalWriting Portuguese
@remixtures@tldr.nettime.org avatar

: "DITA is defined in its specification as “an XML-based architecture for authoring, producing, and delivering topic-oriented, information-typed content that can be reused and single-sourced in a variety of ways”. Originally developed by IBM in the early 2000s, DITA stands for Darwin Information Typing Architecture. “Darwin” refers to the naturalist Charles Darwin and his theory of evolution, reflecting DITA’s principles of specialization, inheritance, and adaptation.

DITA topics are standalone, context-free blocks of content, with content types kept clearly separate. There are three main topic types in DITA, all of which are inherited from the base topic type <topic>:

<concept>: background information that users must know before using the product

<task>: step-by-step instructions that users need to perform a task

<reference>: product specifications, commands, or other reference material

You create a document by selecting which existing topics should be reused and referencing them in what’s called a DITA map (similar to a table of contents).

Being an open standard, DITA has no proprietary restrictions. But while you’re not forced to buy a specific tool to use it, commercial XML editors have many features, such as visual editing and validation, that make writing DITA content much easier."

https://mastertcloc.unistra.fr/2024/04/26/dita-xml-documentation-reasons/

pasqualeberesti, to Amazon French
@pasqualeberesti@piaille.fr avatar

DON : pour collection, car j'imagine que ça ne sert plus à rien, mais ça me fait mal au coeur de les jeter.
Livres sur et le .
Contre étiquette d'envoi avec vos coordonnées, ou récupération sur

Couverture du livre "Introduction à XML" de Erik T. Ray aux édition O'Reilly, édition de 2001

_bydbach_, to Help
@_bydbach_@hcommons.social avatar

Hey, crowd! I've got a mark-up puzzle to solve that my trainer can't answer.

How to I tag Germany or Italy in a historical context that predates their existence as a codified state? So, for Germany any time before 1871. Do I ignore historical reality and just go ahead and code it with [gw]?

tynstar, to opensource
@tynstar@nerdculture.de avatar

Any experienced C developers among my followers? .

Expat, arguably the world's most popular parser, is understaffed and without funding. As has shown, situations like this are dangerous.

Last month, maintainer Sebastian Pipping put up a plea for help at https://github.com/libexpat/libexpat/blob/R_2_6_2/expat/Changes

(I would help myself, but my C skills barely surpass "Hello, World".)

Found via @timbray - https://cosocial.ca/@timbray/112203547801373427



#C

joe, to random

I post a lot of sample code on this blog. My CodePen is full of little snippets of this and that. Quite often, these snippets need data to do something useful. A good example of that is my Lit example from this past week. Coming up with that data can be complicated, though. That is why I created a site for assorted test data. If you want to have a little rummage through it, I also made the git repository public for the site. While I was at it, I also put it behind a Cloudflare proxy to speed it up a little.

Have any questions, comments, etc? Please feel free to drop a comment below.

https://jws.news/2024/i-have-been-making-some-infrastructure-impovements/

swsnr, to rust
@swsnr@mastodon.social avatar

Whenever I touch xjc and jaxb I wish that Rust had any decent XML libraries and codegen tools.

#rustlang #java #xml

bobulous,
@bobulous@fosstodon.org avatar

@swsnr I recently published a crate for reading XML:

https://docs.rs/spex/latest/spex/

There's no fancy unmarshalling; the entire document just gets read into an element tree. It does support namespaces, though, and I spent a lot of time creating traversal mechanisms (XmlPath and cursors) in the hope it makes it easy to grab the desired data out of the tree.

Probably not a JAXB substitute, but maybe useful in some scenarios.

#RustLang #XML

panda, to random
@panda@pandas.social avatar

Meta just invented RSS. Welcome to 2002.

@mjgardner https://social.sdf.org/@mjgardner/112137193174303349

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@panda #RSS began much earlier.

In 1997, @davew invented an #XML format for http://Scripting.com which was then folded into #Netscape’s RSS format in 1999.

After #AOL acquired Netscape and #TimeWarner merged with AOL, Dave documented RSS in 2000 so that his and others' work could interoperate.

In 2002 he released RSS 2.0 and the #NewYorkTimes began supporting it. That's when it took off.

dmaus, to random
@dmaus@dmaus.name avatar

XML Prague 2024 here I come! Judging from the invoice I am number 11 to register. Next: Finish the paper until April 2nd!

#xmlprague #xml

bobulous, to rust
@bobulous@fosstodon.org avatar

Okay, finally published my #Rust powered parser and XML-specific parser packages to crates.io.

sipp: "Simple parser package"

spex: "Simple(ish) parser and extractor of XML"

I've not had time to push them to my Codeberg account yet, and there are problems with my initial attempt at README pages. But hopefully there's enough there to give an idea of what the packages offer.

Feedback welcome, especially about the "shape" of the public interface and how it "feels" in actual use.

#XML #RustLang

minioctt, to wordpress Italian

Ben 2 mesi fa (pensavo meno…) avevo detto qualche dettaglio sul del … la metà delle cose rimane ancora valida, ma è uscita fuori qualche nel tempo. 🕤️

  • Avevo notato che tende ad invalidare le sessioni un po’ a caso, quindi puntualmente lo falliva ad esportare il file con cURL. Per un po’ di non ho tentato di risolvere il problema, immaginando che ci dovesse essere un modo migliore dello scraping di farlo, ma allo stesso tempo non riuscendo a pensare a nulla, e ho fatto giusto qualche a mano di routine. ✍️
  • Non mi preoccupavo troppo perché (e ricordavo di averlo detto, ma temo di non averlo mai fatto, non trovo il post) avevo installato il plugin “Writing on GitHub“, che in automatico esporta i nuovi in Markdown nel posto lì dove dice il nome… sembrava perfetto, ma appena 2 settimane (meglio tardi che troppo tardi) fa ho scoperto che non fa il commit di eventuali modifiche apportate ad un post dopo la creazione (nemmeno con il tasto per forzare), che è quantomeno un . 🧨️

Troppo troppo pallose ‘ste cosine qui, ma menomale che proprio oggi mi è venuto lo schiribizzo di tentare di sistemarle, un po’ anche grazie alla minima ulteriore conoscenza tecnica di accumulata in queste lunghe settimane, e quindi ecco i miei aggiustamenti: ⛏️

  • Ho fatto un mio per esporre un endpoint custom che mi da il documento di esportazione, quindi posso usare sempre il curlo o quello che è, ma senza impazzire. Ho pagato ciò con la pazzia ora, però, in quanto nonostante avessi capito subito di dover usare una certa funzione <a href="https://developer.wordpress.org/reference/functions/export_wp/">export_wp()</a>, non mi è stato subito chiaro che io dovessi includere un certo file di libreria per poterla effettivamente chiamare; la documentazione ufficiale a riguardo è scarsa, e di quella terza non ne parliamo proprio. Anche ChatGPT a ‘sto giro è stato fregato dalla realtà del mondo. 😱️
  • Ho invano perso po’ di tempo a ravanare nel di WOGH per capire come mai non prendesse in conto le . Temevo non fosse programmato per farlo, ma in effetti lo è (e, a pensarci un attimo, sarebbe strano altrimenti), quindi è un . Vabbè, dopo troppo sono arrivata alla conclusione che per qualche motivo non salva l’hash dei commit che fa, necessario per crearne di nuovi che modificano file esistenti, ma cercare di sistemarlo per bene è una grossa rogna che non voglio nemmeno iniziare a crearmi. Quindi, dato che la perfettamente istantanea non mi serve, ho banalmente aggiunto la scrittura su file in una cartella dall’URL segreto in wp-content, quindi poi prelevo tutto via FTP. Ahimé duplico lo spazio occupato sul , ma tanto in primis non ho limiti fissi, e comunque è tutto testo quindi poca roba. 👁️‍🗨️️

https://octospacc.altervista.org/2024/02/14/finalmente-backup-veri/

rra, to random
@rra@post.lurk.org avatar

https://kmaasrud.com/blog/opml-is-underrated.html

I knew OPML only as a format where I export and migrate my podcast subscriptions; but it could be a great way to make a webpage of recommended blogs and podcasts that people can immediately subscribe to. The opml can even be styled. What if people share annotated OPML collections, rather than web rings? Will play around with this in the near future.

antranigv,
@antranigv@sigin.fo avatar

@inky @rra I’ve been using #OPML+XSLT to create website for a while now and I've been really happy with it.

The low-level tooling is amazing (xsltproc) but high-level tooling is not perfect for cross-platform editing.

On #macOS I use OmniOutliner by @OmniGroup , on Linux/FreeBSD I can use Electric Drummer by @davew , but I think there's a place for cross-platform improvement.

What bothers me is that some applications do link as MarkDown while others use <a> tag.

But overall, #XML is awesome!

oblomov, to fediverse
@oblomov@sociale.network avatar

Fun fact: had object representation been instead of , little more than a thin wrapper with and would have been sufficient to serve them on the web —statically.

Luke, to RSS
@Luke@typo.social avatar

Finished my #rss #xml file. But is #json widely supported by #feed readers these days?

thomasrenkert, to generativeAI German
@thomasrenkert@hcommons.social avatar

Is there any tutorial (or just better docs) on how to use with graph databases ()like or to build a with data? Maybe somebody even knows how to use LangChain together with ?

@machinelearning

bobulous, to rust
@bobulous@fosstodon.org avatar

I was planning to have my parser and XML parser packages published to crates.io by now, but while writing example code I keep finding new features begging to be added, such as the ability to specify a default namespace before reaching for a chain of child elements.

But I'm pretty sure they say that scope creep always leads to the best outcome, right?

#Rust #RustLang #ScopeCreep #XML

xmlarbyter, to random German
@xmlarbyter@social.tchncs.de avatar

Die heutige CMS-Klausur hatte natürlich auch Bezüge zu #XML-Basics und dann darüber hinaus zu konkreten Formaten, Standards und Vorgehensweisen. Dabei gab es eine Referenz zur Serie #ForAllMankind mit fünf Fehlern und zwei vermeintlichen Triggerpunkten.

linuxmagazine, to opensource
@linuxmagazine@fosstodon.org avatar

From this week's Linux Update newsletter: @mfioretti_en looks at Xidel, a data extraction tool for XML, HTML, and JSON documents https://www.linux-magazine.com/Issues/2023/276/Xidel #OpenSource #tools #Xidel #XML #HTML #JSON #data #W3C #XPath

minioctt, (edited ) to AdobePhotoshop Italian

[⤴️ https://octospacc.altervista.org/2024/01/16/spaghetti-a-breve-termine/]

Non sono passati nemmeno 10 giorni da quando avevo detto “aaa è improbabile che aggiornerò ancora , dovrei provare a far iniziare a funzionare il progetto definitivo migliore…” 🥴️

Però poi mi sono resa conto che: magari del alternativo non è semplice progettare tutta l’interfaccia e il suo funzionamento (cosa che va fatta, essendo una cosa da da zero), ma certamente non si posso comunque granché se prima non preparo dei logici che so già che mi dovranno servire… e allora, tanto vale iniziare a lavorare per quelli, integrandoli nella che (per quanto ) è già esistente e funzionante, e acchiappare un bel 2 in 1 (espandere quel , e nel mentre accumulare codice che mi servirà per quel molto altro più tardi). 📦️

La prima cosa un po’ intricata che serve è il supporto all’ingestione di dati da diverse, con diversi. L’idea è di avere un solo di dati che la app usa per lavorare internamente, per evitare di avere spaghetti, ma questo vuol dire che bisogna fare qualche tipo di conversione. Ci sarebbero diversi approcci: 🔪️

  • Il più classico sarebbe quello di scrivere (come degli schiavi indiani) delle di codice per tradurre ogni tipo di entità dai esterni a quello interno, e viceversa… il che non solo è una pazzia, e richiede un botto di (va scritto un numero di complesse pari alle piattaforme da supportare, moltiplicato per 2), ma finisce per dare : appena decidiamo che lo schema di API interno va modificato o allargato, ecco che bisogna modificare in ognuna di quelle parti, ed ecco che magari escono nuovi errori e problemi. Ehhh, no, non ci sto dentro. 😩️

  • La mia idea, invece, è di usare un di , almeno per quando le task sono semplicemente selezione e riassegnazione di chiavi di (per operazioni più complesse, il codice è più appropriato del ). Era questo che avevo già provato a fare mesi fa (e funzionava eh!), ma, riguardandolo ora, mi stavo rendendo conto che lo strano JSON da me inventato ha dei abbastanza forti, tra cui penso sia un casino tremendo usare 1 solo documento di per fare sia avanti che indietro. Quindi, ho iniziato a ripensarlo da capo, ma ho pensato abbastanza in fretta che, beh… non va bene per sta roba, lo si vede anche dal come devo mettermi a scrivere chiavi tipo “__robo__“; JSON abuse, doing I am. Però l’idea credo sia bona… 😋️

E allora, fortunatamente sono tornata sana giusto in tempo, prima di ancora una volta dopo mesi con Jason; almeno, abbastanza sana per capire che è meglio impazzire con , se proprio proprio, in questo caso. E, boh, ci ho perso 1 giornata e qualcosa (soprattutto l’altra sera in cui, mezza drogata di sonno, mezza cringiata per colpa della situazione, ho iniziato ad andare un pochino mentale), ma bene o male l’ho fatto funzionare un minimo. C’è stato di tutto in mezzo ovviamente; tra cui, il per aver sistemato un , eccetto scoprire poco dopo che, no, nulla era sistemato… e averci dovuto perdere un’altra mezza giornata. 📆️

https://octospacc.altervista.org/wp-content/uploads/2024/01/image-9-960x451.pngIn , i documenti di trasformazione: a sinistra, quello XML nuovissimo, credo definitivo; al centro, quello JSON vecchio: a destra, quello JSON nuovo che ho sperimentato per pochi quarti d’ora. 💎️Questa è una di quelle cose capaci di stupirmi anche se fatte da me: la sola di poter raggiungere il 90% di quello scopo intricato semplicemente un documento XML in maniera adeguata, e avere vita facile per ogni , la trovo in concetto. Comunque, ho dovuto (iniziare a) scrivere una mega-funzione totalmente per questa cosa perché, come già avevo constatato mesi fa, ma riconfermato appunto ieri, tutte le in giro per fare trasformazioni di dati così sono troppo generiche, a quel punto usare quelle sarebbe anche peggio che fare tutto in . E credo di aver cercato fin troppo in giro. E, ahimè, prima o poi soffrirò di nuovo, perché dovrò scrivere pure la di traduzione inversa! 😵‍💫️

Che centra con la mezza kangata? In pratica, avendo integrato questo già da ora, MBViewer può visualizzare (alcuni) , e (con qualche problema, per ora) , il che non è male. È male, invece, il mio aver scoperto solo ora che su Firefox avviene un problema con il parsing dei feed RSS, che dovrò sistemare… ma su funziona tutto. Oh well. Ohhh, it’s so well. I non finiscono mai, la tortura della è eterna!!! 😭️

https://octospacc.altervista.org/wp-content/uploads/2024/01/image-10.pngProvate idk, https://hub.octt.eu.org/MBViewer/#/SiteUrl=https://mastodon.uno/@octo.rss|platform=rss. (Da Cromio per ora, come ho detto, 😴️)https://octospacc.altervista.org/2024/01/25/mbviewer-per-distrarci/

Lluis_Revilla, to random
@Lluis_Revilla@fosstodon.org avatar

CRAN is looking for someone to maintain package:

"So we are looking for a person volunteering to take over 'XML'.
Please let us know if you are interested."

The task is not easy: many thousand of packages depend on it. Anyone taking it will be doing a great service to the R community.

I have a post about the situation they are in but it seems lacking the plots and some content. I'll update this toot once I fix it, to provide a link to it.

shalien, to random French
@shalien@projetretro.io avatar

Le dilemme de l'automatisation de remplacer une forme de magie noire, par une autre forme tout aussi obscure mais plus "propre" dans sa mise en place

roadskater, to random
@roadskater@mastodon.social avatar

Looking to do an update on a script on the office webserver, I looked up the perldoc for a module and ran into, "PLEASE DO NOT USE THIS MODULE IN NEW CODE". 🤔

mjgardner,
@mjgardner@social.sdf.org avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • tacticalgear
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • slotface
  • vwfavf
  • everett
  • kavyap
  • megavids
  • osvaldo12
  • modclub
  • GTA5RPClips
  • ethstaker
  • InstantRegret
  • cisconetworking
  • cubers
  • ngwrru68w68
  • tester
  • normalnudes
  • Leos
  • anitta
  • JUstTest
  • All magazines