Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



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 Well... (Score 1) 197

CowBoy Neal recommended that I use Firefox to download his nude pix, but I mostly use Firefox for development because it's got the best tools and Chrome for everything else. Sometimes Opera for testing.

And yeah, it's really, really big.

The memory foot print of modern browsers, I mean.

Comment Re: It needs to be said (Score 1) 76

Some of us have to get things done on remote servers, often under circumstances where our preference for editors is irrelevant.

I pretty much covered that.

I've had to use vi countless times to edit things, largely so I can prep a system to install a better text editor before moving on.

Largely doesn't mean always.

Comment Re:It needs to be said (Score 1) 76

Are you a fanatic? Because you very much sound like one.

Yes.

To sane people, which editor to use is a personal choice, and decidedly not _your_ choice.

No shit, I never said it wasn't a personal choice, and nice nonsensical statement claiming that it's not my choice what people use, that's just weak politician-style bullshit jargon speak to always win an argument. it's pretty clear that from what I said and my follow up comments that it's my opinion.

I'm sorry you couldn't understand it, even though other people who replied clearly could, so maybe you should work on that, or should I say "you must work on that" so that your next reply won't read like a poorly Xeroxed newsletter.

Comment Re:It needs to be said (Score 1) 76

I didn't provide any evidence at all. But something that did happen in reality is I actually replied to another person in this thread with questions about vim plugins, because I am curious about why people use them, the purpose, the benefits, etc. Sure blog posts out there which are rewrites of other blog posts will provide vague anecdotes, but I have enough of those in my own life. You did provide me with some useful information though.

Comment It needs to be said (Score 1, Insightful) 76

Both vi(m) and emacs suck and there are countless better text editors and IDEs and so on, they can't do the job as well as a good IDE, and no Sublime Text isn't even on my radar despite the weird cultish claims. That doesn't mean they aren't useful, hell, in the last 25 years I've had to use vi countless times to edit things, largely so I can prep a system to install a better text editor before moving on.

Other than that nano/pico, ee, PhpStorm, IntelliJ IDEA, and RubyMine pretty much cover everything very well (I don't work for JetBrains), and sometimes Visual Studio if I have to. I remember hearing about the vi vs emacs thing back on Usenet so long ago, and I didn't understand it then, and I especially don't get it now... other than seeing it as a joke or weird reference to arguing over which pile of shit smells less bad than another.

It's fine if you want to believe you work faster with vim because your terminal is redrawn with things super fast, but I've never seen evidence that anyone works better.

Slashdot Top Deals

I don't do it for the money. -- Donald Trump, Art of the Deal

Working...