recoil
I don't know whether it counts as "serious" to you, but literally billions of SIM cards and credit cards are running JavaCard:
https://software.ac.uk/blog/2018-07-13-javacard-execution-en...
That's a good point. My whole reply is a bit GNU-centric: the "col -bx" solution should work with everything except groff in ANSI mode (looks like the flag to go back to the standard troff behaviour is GROFF_NO_SGR [1][2], in case anybody is interested).
[1] See: https://linux.die.net/man/1/grotty [2] SGR is "Select Graphics Rendition", apparently: https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_G...
It isn't because the terminal is mis-configured and/or mis-interpreting those characters, it's because these characters have historically been used in a special way by troff's ascii output driver, as used by the man command.
Bold characters are "emulated" by outputting the character itself, followed by ^H, then by repeating the character, and underline is emulated by outputting _ (the underscore character) followed by ^H, followed by the character to be underlined. This is the same way that bold/underline was achieved on a manual typewriter or by old teletype terminals with paper output.
Pagers like "more" & "less" have in-built behaviour that knows how to interpret these sequences and render bold or underline appropriately, and if you "cat" the file your terminal would probably ignore them, but if you open a file with those sequences in a text editor, you're going to see a bunch of unnecessary ^H characters. The OP's script uses the "col" command to remove the unnecessary ^Bs (and the preceding character) that troff has output.
By default, GNU groff doesn't actually output those sequences anymore and uses ANSI escape codes instead. AFAIK many (most?) distributions actually compile out the ANSI behaviour in favour of the old way though (because "more" and "less" don't actually behave correctly with the ANSI characters by default), but some don't, which breaks the script (it's broken in Cygwin, for instance).
FWIW, if you need a fool-proof way to convert a man page to plain old ASCII with no escapes at all, it's easiest just to redirect the output of "man" to a file:
man ls > ls.txt
The long-winded way (with groff) is something like: zcat /usr/share/man/man1/ls.1.gz | groff -man -Tascii -P -cbdu > ls.txtWe were interviewed by a reporter from one of the red tops and they had to re-take our photo several times because we didn't look miserable enough.
I don't know where you got this bizarre notion. The populations of Russia (~144m), Germany (~83m), Turkey (~80m), France (~67m), The United Kingdom (~65m), Italy (~61m), Spain (~46m), Ukraine (~43m), and Poland (~38m) are all quite a lot larger than Texas (~27m).
Emacs has functioned as an "advanced text editor" for at least 20 years and probably longer. There's a very common misconception that Emacs is a "console editor", but the reality is that when you first launch it in a windowed environment you get something that looks an awful lot like Sublime, VSCode & Atom: a text editor window with a menubar and toolbar similar (yes, it's not perfect!) to what you'd expect from any other editor native to your chosen platform.
The time investment involved in learning how to use it is also considerably less than implied elsewhere in this thread. In fact I really doubt that it's significantly more than you'd have to spend educating yourself about any other "advanced editor"'s configuration, keybindings for non-obvious actions, extension mechanism, etc. It's easy enough to learn the (admittedly unconventional) keybindings for a handful of common things like opening and saving files when you have the menus to refer to, and by default it'll even open a buffer containing clickable hyperlinks to helpful things like tutorials. I still haven't seen an editor or IDE with better built-in help.
Even configuring Emacs isn't all that hard: there's a built-in interface for installing packages, most of which will pretty-much auto-activate once installed (i.e. less need to mess around with elisp), and for changing configuration there's "customize", which is a nicer way to change configuration variables than just editing a JSON file. When you do have to start writing some elisp code (you'll almost certainly have to write a little) the documentation is superb and there are more than enough resources on the web to help you. A programmer who is already familiar with a dynamic language like JS will probably have less trouble learning elisp than a C programmer did 20 years ago.
None of which is to say that there aren't areas where Emacs isn't behind. I'd like to see better support for projects, snippets and auto-completion out of the box, as well as being more nicely pre-configured for popular languages like JavaScript and Python. Emacs 24 is four years old at this point, and that's a very long time for any developer tool to stay still.
These days I'd say the most confusing thing about Emacs is working out which of the many competing packages you should choose for whatever it is you're trying to do. Age is working against it here, because what was the almost-universally-recommended package five years ago - for which you'll get plenty of helpful google search results - has often been superceded by something better.
But with a handful of plugins installed (yasnippet, helm, projectile, auto-complete) it's (IMO of course) still the best editor out there.
Thanks for sharing the link :-)
There's an unofficial modding API and thousands of mods [1], some of which are extremely sophisticated. For instance, "Red Power" [2] includes an in-game 6502-based computer for which the author wrote a Forth interpreter that can be used to control in-game objects, and somebody else has embedded a Lua interpreter that can do similar things, IIRC.
There are also dozens of user-created game modes (some of which only have informally-enforced rules) and special maps like "Feed the Beast" [3].
The only games I can think of with comparable amounts of content are MMOs and possibly the Elder Scrolls series, though in both of those cases the content is nothing like as varied, nor does it rely on its user's creativity to anything like the same extent.
Minecraft is very much like Lego, only you can also program your own bricks.
[1] http://www.minecraftwiki.net/wiki/Mods
[2] http://www.minecraftforum.net/topic/365357-125-eloraams-mods...
(FWIW, I am an emacs user).
[1] From HN about a year ago - http://news.ycombinator.com/item?id=3717754
[2] Another random poll I found searching HN - http://gopollgo.com/which-editor-do-you-prefer-emacs-or-vi
[3] Slashdot poll from 2009, the earliest/only one I can actually find right now - http://slashdot.org/pollBooth.pl?qid=1717&aid=-1
ln -s /path/to/some/file
And it'll create a symlink called "file" in the current directory. That wouldn't be possible if the arguments were the other way around.There's definitely more BSD in there than just the userland.
http://letsbuilditagain.com/instructions/6630/ http://letsbuilditagain.com/instructions/6880/
(To pick 2 completely random examples)
Back in '82 there weren't as many different themes (afaik there were maybe 4: space, town, castle and trains), but the concept definitely existed.
Some might even argue about the gender-neutrality of those themes too: the majority of Lego I owned around that time was the space-themed stuff, and my sister had some of the town sets. In fact, as long ago as 1979 Lego brought out a range called Scala [1] that was targeted almost exclusively at girls (my wife has really fond memories of those sets!)
For example, "greet" for "cry" is clearly related to the Norwegian gråte or Swedish gråta. Likewise "kirk" for "church" is a lot closer to the Norwegian "kirke". These are the only ones I remember off the top of my head, but I remember there being surprisingly many.
edit: bairn (Scots) vs barn (Norwegian) for child just came to mind.
Far from universal healthcare bringing an economy "to its knees", it seems to me that the US system has a far greater chance of doing so.
[1] http://www.guardian.co.uk/news/datablog/2012/jun/30/healthca...
On the other hand, while I'm not a teen (by a long shot), I do find facebook more restrictive in terms of the things I feel I can say. Somehow twitter is more anonymous, despite being more public. On facebook I get the impression that people are more likely to pay attention to my ramblings.
[1] http://techcrunch.com/2009/08/30/why-dont-teens-tweet-we-ask... [2] http://blog.nielsen.com/nielsenwire/online_mobile/teens-dont...
In a country like Greece this may be true, but in Spain - for instance - the country's sovereign debt before the financial crisis was low: it's the possibility of Spain having to bail out its over-indebted banks that is driving government bond yields higher there.
In the UK, the government was forced to nationalise the imprudent RBS and as such increase its own debt burden.
And in the US, the government has been motivated to issue more and more debt partly to help re-capitalise insolvent banks...
The banks are definitely to blame.