Lluis_Revilla, to random
@Lluis_Revilla@fosstodon.org avatar

CRAN is looking for someone to maintain #XML package: #rStats

"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

@roadskater Yep, XML::Simple v2.20 from 2012:

“The use of this module in new code is discouraged. Other modules are available which provide more straightforward and consistent interfaces. In particular, XML::LibXML is highly recommended.

"The major problems with this module are the large number of options and the arbitrary ways in which these options interact - often with unexpected results.”

https://metacpan.org/release/GRANTM/XML-Simple-2.20/view/lib/XML/Simple.pm#STATUS-OF-THIS-MODULE

#Perl #XML #CPAN

mjgardner,
@mjgardner@social.sdf.org avatar
emchateau, to random French

Appel à communication pour #XML Prague 2024 https://www.xmlprague.cz/cfp/

danyork, to internet
@danyork@mastodon.social avatar

Have you ever been curious about the process of creating a RFC document that defines an Internet standard? Recently Russ White completed a 7-part article series about “The RFC Process” for the Packet Pushers Network. I wrote a bit about why I like Russ’ series at: https://www.disruptivetelephony.com/2024/01/russ-white-on-the-process-around-creating-rfcs-in-the-ietf.html

I also wrote about my one disagreement with Russ where he advocates for writing drafts in XML, but I have become a strong advocate for using Markdown in most cases.

gregorni, to UI
@gregorni@fosstodon.org avatar

How would you like to build your UIs?

Is there some markup language you really like?
Do you have a vision of what a perfect markup language should look like?
Do you write your UIs without a markup language, just with code?

bobulous, to rust
@bobulous@fosstodon.org avatar

I have, belatedly, realised that my parser needs to use dynamic dispatch, because the character encoding can only be determined at runtime. Which means all of my rigidly static generic structs need to have dynamic equivalents. But I want to keep the static generic versions too, so that (for example) a JSON parser can be built from them (JSON is always UTF-8 so no need for runtime determination).

The dynamic/static files are almost identical. Any way to avoid duplication?

ebassi, to random
@ebassi@mastodon.social avatar

Dear lazyverse: is there an XML validation tool using RelaxNG compact schemas that I can install on Fedora and that doesn't depend on Java? Assume I know about jing and rnv

#lazyverse #xml #validation

carson, to GNOME

Yes, of course #GNOME #Boxes, when I click "Edit Configuration" on my VM, dealing with raw #XML directly in a text editor is exactly what I want to do, why would anyone be surprised by that?

jevko, to random

Working on a #new #jevko #format #codename #JDAML.

Kinda like #XML, but much more #flexible -- works equally well for #data, #configuration, and #markup.

What do you think? Is it readable?

TOML and YAML compared to JDAML
HTML compared to JDAML

daieuxetdailleurs, to archivistodon French
@daieuxetdailleurs@framapiaf.org avatar

RT @figoblog - [Figoblog] Quand les cours de modélisation de @lespetitescases deviennent mes cours qui deviennent un billet de blog :-D https://figoblog.org/2023/12/13/modelisons-un-peu-le-choix-dun-type-de-bases-de-donnees/
@archivistodon

amiloradovsky, to random

some reasons not to use

  • full of webshit
  • login failed blocks the entire UI
  • debugging anything protocol-related is more difficult than it should be (no logs or logs flooded with garbage)
  • branding nonsense
amiloradovsky,

@ic3l9 @newt well, indeed XHTML ≠ XML, though the former may be viewer as the latter, forgetting about meaning of the tags, and indeed it is parsed as XML first and then the entities get interpreted
(I kinda know the difference, I generated from custom with and wrote custom for the validation of the XML)
unlike "HTML5" e.g. all the tags have to be closed or the browser will just signal an error and won't show anything — that's a good thing, and the reasons are the same as for strongly, strictly, and statically typed GPPLs

problem with is not that it's a bad format (although it really is) but that it isn't human read-/writeable and discourages separation of internal data-structures from protocols — data-structures may vary between implementations and versions but protocols must be stable, and just passing lists of hash tables as they are is not really a protocol design

of course all windows behavior is intentional, even if malicious — never mistake hostility for stupidity
specifically in case of , things like login failure for one server of one account block everything else, and the dialogs can't even be closed oftentimes — if it's intentional then they're just evil or it's a sabotage, should be avoided in either case

bobulous, to rust
@bobulous@fosstodon.org avatar

Phew, had me worried for a minute. I'm writing a simple XML 1.0 parser in just for practice, and on feeding it a 4.4MB XML file it took 56.5s to read it. I've done nothing to optimise it yet, but even so that sounded dire.

Then I remembered to use "release" mode, and the time dropped to 3.9s. Whatever the compiler is doing behind the scenes, I'll take that 14x speed boost, thank you.

Crell, to random
@Crell@phpc.social avatar

Over time, all data formats end up reinventing #XML.

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

In der nächsten Woche gibt es ein weiteres interessantes #XML-Webinar. Steven Pemberton präsentiert Invisible XML: https://www.brighttalk.com/webcast/9273/599089

iamdtms, to ChatGPT
@iamdtms@mas.to avatar

Who knows? #chatgpt #CSV vs. #XML parsing best practice

ct_Magazin, to apple German

​ Apple Fitness: Daten besser auswerten​

Ich sammle Fitnessdaten von meiner Bluetooth-Waage und Sport-Apps in der App Apple Fitness. Mit der Auswertung bin ich nicht zufrieden. Gibt es Alternativen?​

https://www.heise.de/ratgeber/Apple-Fitness-Daten-besser-auswerten-9337686.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege

#Apple #ctTippsundTricks #Docker #FitnessTracker #XML #news

veronica, to programming
@veronica@mastodon.online avatar

Someone really wants me to add docx support in my app (I already have odt support), so I was looking at the Office Open XML (aka docx) standard, and what a mess it is.

I know the Open Document standard (odt) pretty well, and while it's a complex format, it is quite logical and sensible, and not least: flexible.

Docx is pretty much the opposite. It's partially based on Microsoft's older proprietary binary formats, and an obviously self-serving "standard".

#Standards #Office #Programming #XML

lukeshu, to python
@lukeshu@fosstodon.org avatar

Very frustrated with #Python ElementTree having .text and .tail instead of having text be a special node type.

veronica,
@veronica@mastodon.online avatar

@lukeshu Ah, I see. I never use this syntax for setting up the XML because it gets very messy, but it is correct.

"bar" does belong to <b> and not to <a>. While <a> is not closed, you are on the child element <b> when you add "bar".

An element consists of:

<tag>text</tag>tail

And when nested:

<tag_a>text_a<tag_b>text_b</tag_b>tail_b</tag_a>tail_a

I have done a lot of battle with XML 😀

#Python #XML

lukeshu, (edited )
@lukeshu@fosstodon.org avatar

@veronica That was pseudo-code showing the object structure (you can't can't set text, tail, or items as kwargs to the constructor).

I understand how etree works, but am upset that how it works is different than how #XML works.

XML's grammar defines (https://www.w3.org/TR/xml/#NT-content) the text to belong to belong to the "content" member of the parent element.

Compare with the DOM implemented by web browsers. "foo" and "bar" are both Text Nodes rather than being attributes on an Element Node.

zkamvar, to pdx
@zkamvar@hachyderm.io avatar

I'm looking for a new job (remote or ), please boost!

I am a research software engineer with 11 years experience developing interdisciplinary scientific software that is robust, , and user-friendly.

I have experience in population genetics, , , and . My main language is , but I can also speak , , , #C, , etc.

The following thread describes why you want me on your team

1/

vrdhn, to Java

https://github.com/takari/polyglot-maven-examples/blob/master/java/pom.java is so much better than #xml why don't more #java project use this ?

kerfuffle,
@kerfuffle@mastodon.online avatar

@vrdhn Because there are still some limitations wrt plugin and IDE support, probably.

https://github.com/takari/polyglot-maven

#xml #java

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • everett
  • DreamBathrooms
  • Durango
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • mdbf
  • thenastyranch
  • Youngstown
  • slotface
  • cubers
  • kavyap
  • khanakhh
  • megavids
  • cisconetworking
  • tacticalgear
  • osvaldo12
  • ethstaker
  • modclub
  • rosin
  • tester
  • anitta
  • normalnudes
  • GTA5RPClips
  • Leos
  • provamag3
  • lostlight
  • All magazines