Scripting News: Markdown and outliners. Scripting News(cached at May 4, 2013, 11:31 pm)

A picture named drummer.gifI've had Markdown on my to-do list for a few months, and the other day, with a bit of blank space in my worklist, I decided to give it a shot.

It was amazingly easy to integrate into our JavaScript app. I just downloaded the source for Pagedown, the Markdown interpreter used by Stack Overflow. I put it into a file on our server, and included it in Fargo. Added a command to the File menu, and came up with a simple way to generate it for users. The whole thing was done in a couple of hours.

Now we need people who know Markdown and outliners to take a look at this, try it out and relatively quickly, before there's an installed base to break, figure out if there's anything special we need to do, because this is an outliner and not a straight text editor.

Here are a couple of considerations:

1. Should we generate one or two return chars at the end of every outline heading? At first we did one, then thought better and generated two, but now we're back at one. Pretty sure one is the right answer. We often think of a headline as a paragraph, but sometimes headlines are titles. Markdown views titles and paragraphs very differently.

2. Indentation. I thought at first that we should generate a tab for every level, but backed out of that idea quickly because Markdown treats tabs as very special characters. Everything deeper than level 0 would be seen as preformatted code. Not the desired outcome.

So I wonder if there have been any others who have integrated outlining and Markdown before? If so, what did they do here?

See the Fargo docs for an idea how it works from a user's standpoint.

I welcome any comments from Markdown experts (I am anything but that).

Syria Buys Dell PCs Despite Sanctions Slashdotby timothy on censorship at January 1, 1970, 1:00 am (cached at May 4, 2013, 11:02 pm)

puddingebola writes with a New York Times article about how mundane PCs — not just more esoteric and eyebrow-raising network monitoring equipment from Blue Coat — makes its way to Syria: "From the article: 'Large amounts of computer equipment from Dell have been sold to the Syrian government through a Dubai-based distributor despite strict trade sanctions intended to ban the selling of technology to the regime, according to documents obtained by The New York Times. The disclosure of the computer sales is the latest example of how the Syrian government has managed to acquire technology, some of which is used to censor Internet activity and track opponents of the Syrian president, Bashar al-Assad.'"

Read more of this story at Slashdot.



Bugtraq: MDVSA-2013:160 phpmyadmin (SecurityFocus Vulnerabilities) SANS ISC SecNewsFeed(cached at May 4, 2013, 11:00 pm)

Is Google Glass Too Nerdy For the Mainstream? (Slashdot) SANS ISC SecNewsFeed(cached at May 4, 2013, 11:00 pm)

Fler unga tvingas ta rivningskontrakt SvD Inrikes(cached at May 4, 2013, 10:32 pm)

”Dyrt och osäkert.”
Brittisk politiker gripen för våldtäkt SvD Inrikes(cached at May 4, 2013, 10:32 pm)

'Dozens dead' in Nigeria religious violence AL JAZEERA ENGLISH (AJE)(cached at May 4, 2013, 10:30 pm)

At least 39 dead in fighting between Christian and Muslim groups in Taraba state during funeral procession, police say.
The Three Transformations of IT (Network Computing Security) SANS ISC SecNewsFeed(cached at May 4, 2013, 10:30 pm)

Bombdåd mot partikontor i Pakistan SvD Utrikes(cached at May 4, 2013, 10:02 pm)

Minst tre personer dödades när två sprängladdningar exploderade kort efter varandra vid ett partikontor i pakistanska Karachi i dag.
Google and Adobe Contribute Open Source Rasterizer to FreeType Slashdotby timothy on graphics at January 1, 1970, 1:00 am (cached at May 4, 2013, 10:02 pm)

alancronin writes with this excerpt from a PC World article: "Users of Android, Chrome OS, Linux, and iOS devices may not realize it, but FreeType open source software is used to render fonts on more than a billion such devices. Not only that, but the FreeType project this week got a significant update from none other than Adobe and Google. Specifically, Google and Adobe on Wednesday released into beta the Adobe CFF engine, an advanced Compact Font Format (CFF) rasterizer that 'paves the way for FreeType-based platforms to provide users with richer and more beautiful reading experiences,' as Google put it in an online announcement on the Google Open Source Blog. The new rasterizer is now included in FreeType version 2.4.12. Though it's currently off by default, the technology is 'vastly superior' to the old CFF engine and will replace it in the next FreeType release, the project says." The article features examples of how the new engine improves font rendering; for more explanation of the CFF, see this blog post from Adobe.

Read more of this story at Slashdot.



Acme-CPANAuthors-POE-0.68 search.cpan.orgby Chris Williams at January 1, 1970, 1:00 am (cached at May 4, 2013, 10:01 pm)

We are CPAN Authors of POE
WorePAN-0.02 search.cpan.orgby Kenichi Ishigaki at January 1, 1970, 1:00 am (cached at May 4, 2013, 10:01 pm)

creates a partial CPAN mirror for tests
Dist-Zilla-MintingProfile-Author-FIBO-0.001 search.cpan.orgby Gianluca Casati at January 1, 1970, 1:00 am (cached at May 4, 2013, 10:01 pm)

minting profiles for FIBO[nacci]
Dancer-Plugin-SimpleCRUD-0.90 search.cpan.orgby David Precious at January 1, 1970, 1:00 am (cached at May 4, 2013, 10:01 pm)

very simple CRUD (create/read/update/delete)
Test-BDD-Cucumber-0.14 search.cpan.orgby Peter Sergeant at January 1, 1970, 1:00 am (cached at May 4, 2013, 10:01 pm)

Feature-complete Cucumber-style testing in Perl