Profile cover photo
Profile photo
Dan Allen
2,032 followers -
Software geek. Community catalyst. Java Champion. Believes in the freedom to share ideas openly & enjoy life.
Software geek. Community catalyst. Java Champion. Believes in the freedom to share ideas openly & enjoy life.

2,032 followers
About
Dan's posts

Dear +The Democrats (Party),

I'm disgusted by how you've conducted yourself in this election cycle by shutting out Bernie Sanders, trying to crown Hillary before the election is over and for suppressing the vote. You all should be ashamed of yourselves. I've been a lifelong Democrat until today. I'm now Unaffiliated. I support Bernie Sanders and the Bernicrats. They are the future of our democracy. You are not.

If Bernie Sanders gets the nomination that he's more than earned, then I'll strongly consider coming back to the party knowing he will restore integrity and honor to it. If he doesn't get the nomination, I'll become an Independent for life. I hope I am being clear enough.

Sincerely,

Daniel Allen

---

Fellow Bernie Supporters,

If you feel the same, and you're in a state with a closed primary, make sure you vote for Bernie before you switch you affiliation. You don't want to jeopardize your chance to vote for Bernie under this semi-democratic system we have.

Post has shared content
Our #ebook "Become a ninja with #Angular2" is out!
Pay what you want and support the Electronic Frontier Foundation.

https://books.ninja-squad.com/angular2

I always recommend using RVM (or something equivalent) when using Ruby for development (or other user-space programs, meaning programs in your home directory).

If you are doing something with Ruby in your home directory, then you don't want to be using the system Ruby. Period. The system Ruby is for system-wide applications (installed and managed by a package manager). Few distributions setup Ruby correctly so that you can use the gem command reliably with the system installed Ruby.

Basically, just assume you don't have Ruby and that you need RVM to get it. That's my personal policy and it works for me 100% of the time.

I also like RVM because it allows me to create "gemsets", which are essentially gem workspaces. If I want to remove all gems, I just need to create a new gemset and then I can start from scratch with vanilla Ruby. This is the quickest "escape hatch" when dealing with gem problems.

Post has attachment
What Watson (https://watson-pi-demo.mybluemix.net/) says about my personality by analyzing the "Funding for Asciidoctor" post on the asciidoctor.org blog.

“You are analytical, heartfelt and tranquil.

You are self-controlled: you have control over your desires, which are not particularly intense. You are philosophical: you are open to and intrigued by new ideas and love to explore them. And you are empathetic: you feel what others feel and are compassionate towards them.

Experiences that give a sense of efficiency hold some appeal to you.

You consider helping others to guide a large part of what you do: you think it is important to take care of the people around you. You are relatively unconcerned with tradition: you care more about making your own path than following what others have done.”

Pretty amazing.

Post has shared content
Some really great tooling ideas coming out of AsciidocFx. Thanks for covering it +Jared Morgan​!
See how this multi-format editor converts HTML to AsciiDoc on the fly!

Post has shared content

Every now and then, I get asked the question, “Is it possible to convert AsciiDoc to a Google Doc (or the like) so people can edit it?”

At the risk of sounding presumptuous, I think this is the wrong question to ask. Here are my thoughts.

> Not everyone knows AsciiDoc

I recognize that there will be a transition period as people become accustomed to AsciiDoc, as with any new technology. AsciiDoc is catching on quickly, though, so I expect this issue to subside proportionally.

Often times, I'm able to get over that hump by saying, "it's similar in spirit to Markdown". That helps them understand what type of tool they should use to read it (i.e., a text editor).  Keep in mind we continue to improve the live preview tools like the add-on for Atom (see https://atom.io/packages/asciidoc-preview)

> AsciiDoc can be hard to "read" in its non output form when reviewing

The whole idea of AsciiDoc is that it is easy to read in raw form. Admittedly, there are times when it is not. I think we need to work from both ends to solve the problem. One one end, we need to write simpler documents. Cutting out excessive formatting is better for everyone (including the reader). On the other end, we continue to work to make the syntax simpler (either by modifying core or adding extensions). AsciiDoc isn't perfect, and experience will tell us where and how we can simplify it.

> I don't really want people adding comments to AsciiDoc file itself even if they could read AsciiDoc as they probably will mess up syntax somewhere.

Again, I'd argue this is actually the point of AsciiDoc. People add inline or block comments to communicate back and forth. As they are addressed, those comments can be removed. This is how I collaborate on AsciiDoc and I've found it to be very effective. If the reviewer understands a few rules, they can avoid breaking the document rather easily in my experience.

> Ideally, there would be some nice PDF viewer that we could share a document and everyone would see everyone's feedback as its added to a document.

This goes against our philosophy in Asciidoctor. Our philosophy is that docs should be treated like code. They should be committed to a revision control system and that revision control system should be used to manage the collaboration (edits, additions, deletions and comments). When you go to PDF, you put up a huge barrier to collaboration and ownership.

> if I send them an AsciiDoc to review won't really know what to do with it....

They are smart people. I'm confident they'll figure it out :) Most of the time, people are just resisting change. We need to nudge them ;) The benefits of AsciiDoc far outweigh the inconvenience and a little training.

Post has attachment
Tonight we're wearing orange.
Photo

Post has attachment
A very entertaining talk by +Hubert SABLONNIERE about how we can make better use of all these screens thanks to the web.

You'll also discover the technology behind DZSlides, which Hubert uses for the visuals in his talk.

Post has shared content
Here's an easy thing to learn about Vim that will save you lots of time. You don't just get access to a calculator, but rather all the registers (where you yank stuff).
Using #vim as a calculator
In insert mode, press Ctrl + R, then =, input your operation and press Enter.

Example:

Ctrl + R = 3 + 3 Enter, will print 6 in the current document.
Wait while more posts are being loaded