Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment A few problems (Score -1, Troll) 117

A lot of (western) people really insist on and lie their asses off about the importance of organic food and how GMOs are evil, for example all the lies and misinformation about golden rice, telling third world people that non-organic food is poisonous and will eventually kill them. If you really tried to live in a purely organic and pseudo-"sustainable" world (no farming of any type is ultimately truly sustainable, but you can always be smarter about it), billions would starve to death, but those people live in the third world so they don't really matter.

Comment Syntax (Score 1) 3

The syntax of some of these examples seems more verbose and harder to follow than just writing the XML or JSON itself, especially the anchor examples. Aside from that, XML to JSON conversion exists, though with limitations, seemingly the same ones, such as no comments in JSON so instead you're adding an additional key. Might as well just write one or the other and convert, especially because libxmq is nearly JSON anyway.

Submission + - XMQ/HTMQ A better html than html? (libxmq.org) 3

anjara writes: HTML and XML are the perhaps mostl widely used computer languages in the world. Alas, they are also hard to pretty print. In fact, it is nigh impossible to pretty print HTML without potentially introducing significant whitespace.

The XMQ language (https://libxmq.org) language can store XML/HTML (and JSON) documents and always be pretty printed. Use the xmq tool to pretty print any XML/HTML/JSON into XMQ which is much easier to read and can be syntax colored in your terminal or in your browser.

You can also convert back and forth between XMQ and XML, HTML and JSON, taking advantage of both XML toolchains and JSON toolchains.

Here is an excerpt from the XMQ homepage:

XML can be human readable/editable if it is used for markup of longer human language texts, ie books, articles and other documents etc. In these cases the xml-tags represent a minor part of the whole xml-file.

However XML is often used for data storage and configuration files (eg pom.xml). In such files the xml-tags represent a major part of the whole xml-file. This makes the data storage and config files hard to read and edit directly by hand. Today, the tags are a major part of html files as well, which is one reason why html files are hard to read and edit.

XMQ solves the verbosity of tags by using braces to avoid closing xml-tags and parentheses to surround the attributes. XMQ solves the whitespace confusion by requiring all intended whitespace to be quoted.

You can try it now on GNU/Linux, MacOS and Windows!

Comment Re:When did a generation change to 15 years? (Score 1) 73

I got a sense that it started to change because they wanted to "Millennial" one to be as long as possible to include as many people as they could. Then again it really was always changing and never really set in stone to begin with, but I always got a sense that some would make Millennial 50 years long just to more bitch about as many people as possible. I'm Gen X until they move the goalposts further back... again.

Comment Re:The "media" has no interest in the Fediverse (Score 1) 15

wrote up a comment but it was deleted. tl;dr free speech exists on the fediverse, and if you choose to value it you can have it. whether or not the fediverse is "about" free speech is almost irrelevant. The parts of the fediverse that have free speech are "about" it and there will be those of us who connect the rest of the network to freedom whether or not the prudes and the censors want to try to wall themselves off.

Comment Re:Is ActivityPub getting features of bluesky's (Score 1) 15

'Multi-server but all under control by an unaccountable central point of failure' you mean

Search is way easier in centralized systems, obviously.
As far as algorithmic filtering of content, you can do that already on the fediverse, you just have to do it manually on your own database of posts. The UI isn't quite there yet on servers like pleroma, but it will get there if it's seen to be a useful feature.

Comment priorities (Score 1) 22

good thing disney's priorities is making their service more defective by design, and harder to use for their paying customers and not fixing their buggy-AF UI or producing more content

it makes it easier to compete with them and an easier sell for a cartoon producing entity to replace them

Slashdot Top Deals

"It is better to have tried and failed than to have failed to try, but the result's the same." - Mike Dennison

Working...