Re: The Official D Blog is Live

2016-06-11 Thread Jacob Carlborg via Digitalmars-d-announce

On 2016-06-10 20:47, Jacob Carlborg wrote:


Unfortunately there doesn't seem to be an exact specification of what's
required for the reader mode to be available. I can do some digging to
see if I can find something.


At the bottom is the minimal amount of HTML code I could come up with 
that makes the reader mode available.


The number of letters in these paragraphs are important. If I remove 
some letters it will not make the reader mode available. But, it depends 
on the width of the browser window. The first paragraph below needs to 
not fit on one line to make the reader mode available. Below is the 
exact number of letters or words required to not make the text fit on 
one line on using a 1920px wide window.


An image is not required but I wasn't able to figure out what to use 
instead of the image below.


The document cannot be locale, i.e. file://.

I've not bother trying to make a multiple page article work.



   
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do 
eiusmod

 tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
 veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip 
ex ea

 commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
 velit esse cillum

 
   Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do 
eiusmod

   tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
 

 
   Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do 
eiusmod

 

 

  

 
   


--
/Jacob Carlborg


Re: The Official D Blog is Live

2016-06-10 Thread Jacob Carlborg via Digitalmars-d-announce

On 2016-06-10 20:21, Mike Parker wrote:


I didn't realize anything special was needed for that. How can I make it
so?


Unfortunately there doesn't seem to be an exact specification of what's 
required for the reader mode to be available. I can do some digging to 
see if I can find something.


--
/Jacob Carlborg


Re: The Official D Blog is Live

2016-06-10 Thread Mike Parker via Digitalmars-d-announce

On Thursday, 9 June 2016 at 09:06:18 UTC, Jacob Carlborg wrote:



I would prefer if the text did not hyphenate the words. I think 
it's easier to read whole words.


Agreed. Thanks for reminding me. They weren't showing up for me 
in Chrome at all and I had forgotten that I saw them in Firefox 
(and Safari). I got rid of the indented paragraphs as well. That 
was just ugly.




If possible, it would be great if the blog worked with the 
Safari reader mode.


I didn't realize anything special was needed for that. How can I 
make it so?




Re: The Official D Blog is Live

2016-06-09 Thread Jacob Carlborg via Digitalmars-d-announce

On 2016-06-03 21:33, Mike Parker wrote:

The D Blog was born at DConf this year. With help from Jack Stouffer, it
is now live at:

http://dlang.org/blog/


I would prefer if the text did not hyphenate the words. I think it's 
easier to read whole words.


If possible, it would be great if the blog worked with the Safari reader 
mode.


--
/Jacob Carlborg


Re: The Official D Blog is Live

2016-06-08 Thread Seb via Digitalmars-d-announce

On Wednesday, 8 June 2016 at 16:44:35 UTC, Mike Parker wrote:

On Wednesday, 8 June 2016 at 14:45:07 UTC, bachmeier wrote:
Is it possible to announce the new This Week In D from the 
blog when it comes out?


That sort of post doesn't really fit within the goals of the 
blog. I mean, TWID is put out every Sunday. That would mean I'd 
make a two or three line blurb of the nature, "There's a new 
TWID out" every Sunday. That's what the Announce forum is for, 
and even Adam doesn't announce the new TWID every week.


+1

I do intend to contact Adam about a TWID-related post, though 
(I've already got some others lined up for some interesting 
content). That's much more valuable, IMO, and fits better with 
the goals of the blog. And, of course, any time I can fit it in 
to the context of a given post, I'll certainly remind people to 
check TWID out. Every post should have value on its own other 
than being a simple announcement with a link.


And now that you've brought this up, I've just realized there 
are no links to TWID in the dlang.org menus. I'll have to add 
one to the side bar of the blog.


It has even a better spot - the "News" section of the front page.
Speaking of which: now that we have have an official D Blog, 
maybe we can put the latest headline of the official blog to the 
news section?


Re: The Official D Blog is Live

2016-06-08 Thread Mike Parker via Digitalmars-d-announce

On Wednesday, 8 June 2016 at 14:45:07 UTC, bachmeier wrote:
Is it possible to announce the new This Week In D from the blog 
when it comes out?


That sort of post doesn't really fit within the goals of the 
blog. I mean, TWID is put out every Sunday. That would mean I'd 
make a two or three line blurb of the nature, "There's a new TWID 
out" every Sunday. That's what the Announce forum is for, and 
even Adam doesn't announce the new TWID every week.


I do intend to contact Adam about a TWID-related post, though 
(I've already got some others lined up for some interesting 
content). That's much more valuable, IMO, and fits better with 
the goals of the blog. And, of course, any time I can fit it in 
to the context of a given post, I'll certainly remind people to 
check TWID out. Every post should have value on its own other 
than being a simple announcement with a link.


And now that you've brought this up, I've just realized there are 
no links to TWID in the dlang.org menus. I'll have to add one to 
the side bar of the blog.


Re: The Official D Blog is Live

2016-06-08 Thread bachmeier via Digitalmars-d-announce
Is it possible to announce the new This Week In D from the blog 
when it comes out?





Re: The Official D Blog is Live

2016-06-08 Thread Mike Parker via Digitalmars-d-announce

On Tuesday, 7 June 2016 at 22:18:57 UTC, Ali Çehreli wrote:

On 06/07/2016 12:19 PM, Mike Parker wrote:

On Tuesday, 7 June 2016 at 18:50:47 UTC, Jesse Phillips wrote:


I think each post should have an author displayed. While this 
likely
will be the same person, I think it is good to have it called 
out
repeatedly so one doesn't have to find the first post to see 
who is

posting.

It will also make it very clear when there is a guest poster.


The author name is displayed at the bottom of each post then 
single post
page (i.e. when you click the post title on the main page). I 
didn't
notice it wasn't showing on the main page. I'll see about 
adding it.


Both the author and the date of a blog post is important. I 
would like to see botthat information right under the title.


Ok, now the author and the date is at the top of every post, 
front page and single post page. Looks better. Thanks, guys!





Re: The Official D Blog is Live

2016-06-07 Thread Ali Çehreli via Digitalmars-d-announce

On 06/07/2016 12:19 PM, Mike Parker wrote:

On Tuesday, 7 June 2016 at 18:50:47 UTC, Jesse Phillips wrote:

On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:

The D Blog was born at DConf this year. With help from Jack Stouffer,
it is now live at:

http://dlang.org/blog/


I think each post should have an author displayed. While this likely
will be the same person, I think it is good to have it called out
repeatedly so one doesn't have to find the first post to see who is
posting.

It will also make it very clear when there is a guest poster.


The author name is displayed at the bottom of each post then single post
page (i.e. when you click the post title on the main page). I didn't
notice it wasn't showing on the main page. I'll see about adding it.


Both the author and the date of a blog post is important. I would like 
to see botthat information right under the title.


Ali



Re: The Official D Blog is Live

2016-06-07 Thread Mike Parker via Digitalmars-d-announce

On Tuesday, 7 June 2016 at 19:19:30 UTC, Mike Parker wrote:


then single post page


*on the* single post page



Re: The Official D Blog is Live

2016-06-07 Thread Mike Parker via Digitalmars-d-announce

On Tuesday, 7 June 2016 at 18:50:47 UTC, Jesse Phillips wrote:

On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:
The D Blog was born at DConf this year. With help from Jack 
Stouffer, it is now live at:


http://dlang.org/blog/


I think each post should have an author displayed. While this 
likely will be the same person, I think it is good to have it 
called out repeatedly so one doesn't have to find the first 
post to see who is posting.


It will also make it very clear when there is a guest poster.


The author name is displayed at the bottom of each post then 
single post page (i.e. when you click the post title on the main 
page). I didn't notice it wasn't showing on the main page. I'll 
see about adding it.


Re: The Official D Blog is Live

2016-06-07 Thread Jesse Phillips via Digitalmars-d-announce

On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:
The D Blog was born at DConf this year. With help from Jack 
Stouffer, it is now live at:


http://dlang.org/blog/


I think each post should have an author displayed. While this 
likely will be the same person, I think it is good to have it 
called out repeatedly so one doesn't have to find the first post 
to see who is posting.


It will also make it very clear when there is a guest poster.


Re: The Official D Blog is Live

2016-06-06 Thread Mike Parker via Digitalmars-d-announce

On Sunday, 5 June 2016 at 16:47:57 UTC, Jack Stouffer wrote:

On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:

so if you have any suggestions fire away.


Two things I noticed:

1. The site doesn't gzip its responses. This can lead to a 
30%-40% reduction in total page size if used.


I'll have to ask Jan about this.



2. The server isn't using Wordpress' custom server error pages.


I'll have to ask him about this one, too. The only way I know to 
enable this is via an .htaccess file and it looks like those 
might not be enabled.





Also, one suggestion I have is to use a Wordpress plugin that 
caches the page results into static HTML. This saves the server 
regenerating the templates every page load, which requires a 
slow round trip to the database.


Glad you mentioned this. Caching is something I've never bothered 
with on my other Wordpress blogs, so it didn't cross my mind for 
this one. The only one I recall hearing of is WP Super Cache. 
Looking at [1], it's in the top three along with W3 Total Cache 
and WP Fastest Cache. Any recommendations?


[1] https://wordpress.org/plugins/tags/wp-cache



Re: The Official D Blog is Live

2016-06-05 Thread Jack Stouffer via Digitalmars-d-announce

On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:

so if you have any suggestions fire away.


Two things I noticed:

1. The site doesn't gzip its responses. This can lead to a 
30%-40% reduction in total page size if used.


2. The server isn't using Wordpress' custom server error pages.

Also, one suggestion I have is to use a Wordpress plugin that 
caches the page results into static HTML. This saves the server 
regenerating the templates every page load, which requires a slow 
round trip to the database.


Re: The Official D Blog is Live

2016-06-03 Thread bachmeier via Digitalmars-d-announce

On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:
The D Blog was born at DConf this year. With help from Jack 
Stouffer, it is now live at:


http://dlang.org/blog/


This is a big deal for marketing the language. Thanks for doing 
it.


With respect to blog comments, this article talks about the 
experiences of bloggers that turned comments off and then back on:

http://www.socialmediaexaminer.com/blog-comments-revisited-why-major-bloggers-are-turning-comments-back-on-michael-hyatt-brian-clark/

"Once comments returned, many people told him they just stopped 
dropping by the blog, because it didn’t feel hospitable. It felt 
cold, sterile, and uninviting. Since comments have been back, 
traffic is growing again, and is up 20% over the same period last 
year. Michael says comments have created some vitality on the 
blog and it feels like somebody is home."


And with any luck, bikeshedding discussions will move to the 
blog, leaving General for its intended purpose.




Re: The Official D Blog is Live

2016-06-03 Thread Walter Bright via Digitalmars-d-announce

Pretty dazz! Thanks, Mike!


Re: The Official D Blog is Live

2016-06-03 Thread Adam D. Ruppe via Digitalmars-d-announce

On Saturday, 4 June 2016 at 01:17:10 UTC, Mike Parker wrote:
The blog will potentially attract people who do not frequent 
the forums. From that perspective, I think we should give 
comments a try.


I agree, part of the fun of a blog is the comments!


Re: The Official D Blog is Live

2016-06-03 Thread Mike Parker via Digitalmars-d-announce
On Friday, 3 June 2016 at 21:15:46 UTC, Steven Schveighoffer 
wrote:
On 6/3/16 4:50 PM, Rory McGuire via Digitalmars-d-announce 
wrote:




Would be nice if the comment section was an interface to a 
specific news

group here. Keeping things in one place.



Yes. That would be cool if posting a blog post could be linked 
to the announcement, and then the comment section was a 
mini-dfeed instance that posted the result to the actual forum.





If anyone wants to develop a Wordpress plugin for it, I'll give 
it a try. PHP ain't my thing. I'd hate to waste my Akismet 
subscription, though :)




Re: The Official D Blog is Live

2016-06-03 Thread Mike Parker via Digitalmars-d-announce

On Friday, 3 June 2016 at 20:34:53 UTC, Jack Stouffer wrote:


IMO we should disable the comment section. Right now we are 
just asking for spam, and I don't think we want to be in the 
position of moderating each of these sections. Plus, all of the 
D tech discussions happen on reddit, HN, or on here, so I don't 
think we will be missing anything.


The blog will potentially attract people who do not frequent the 
forums. From that perspective, I think we should give comments a 
try. I do anticipate getting a good deal of spam, but in my 
experience, Akismet is pretty effective.


At the moment, I've got it configured to require moderation for 
anyone's first comment, so even if there is a lot of spam it 
won't be visible. If comment moderation becomes too much for me 
to handle, I'll look at other options.





Re: The Official D Blog is Live

2016-06-03 Thread Mike Parker via Digitalmars-d-announce

On Friday, 3 June 2016 at 19:34:22 UTC, WebFreak001 wrote:

On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:
The theme is not set in stone, so if you have any suggestions 
fire away.


The font is way too big!


Jack touched up the theme a bit. Looks better now.


Re: The Official D Blog is Live

2016-06-03 Thread Steven Schveighoffer via Digitalmars-d-announce

On 6/3/16 4:50 PM, Rory McGuire via Digitalmars-d-announce wrote:


On 03 Jun 2016 22:35, "Jack Stouffer via Digitalmars-d-announce"
mailto:digitalmars-d-announce@puremagic.com>> wrote:


On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:


The D Blog was born at DConf this year. With help from Jack Stouffer,

it is now live at:


http://dlang.org/blog/



IMO we should disable the comment section. Right now we are just

asking for spam, and I don't think we want to be in the position of
moderating each of these sections. Plus, all of the D tech discussions
happen on reddit, HN, or on here, so I don't think we will be missing
anything.

Would be nice if the comment section was an interface to a specific news
group here. Keeping things in one place.



Yes. That would be cool if posting a blog post could be linked to the 
announcement, and then the comment section was a mini-dfeed instance 
that posted the result to the actual forum.


-Steve


Re: The Official D Blog is Live

2016-06-03 Thread Rory McGuire via Digitalmars-d-announce
On 03 Jun 2016 22:35, "Jack Stouffer via Digitalmars-d-announce" <
digitalmars-d-announce@puremagic.com> wrote:
>
> On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:
>>
>> The D Blog was born at DConf this year. With help from Jack Stouffer, it
is now live at:
>>
>> http://dlang.org/blog/
>
>
> IMO we should disable the comment section. Right now we are just asking
for spam, and I don't think we want to be in the position of moderating
each of these sections. Plus, all of the D tech discussions happen on
reddit, HN, or on here, so I don't think we will be missing anything.

Would be nice if the comment section was an interface to a specific news
group here. Keeping things in one place.


Re: The Official D Blog is Live

2016-06-03 Thread Jack Stouffer via Digitalmars-d-announce

On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:
The D Blog was born at DConf this year. With help from Jack 
Stouffer, it is now live at:


http://dlang.org/blog/


IMO we should disable the comment section. Right now we are just 
asking for spam, and I don't think we want to be in the position 
of moderating each of these sections. Plus, all of the D tech 
discussions happen on reddit, HN, or on here, so I don't think we 
will be missing anything.


Re: The Official D Blog is Live

2016-06-03 Thread WebFreak001 via Digitalmars-d-announce

On Friday, 3 June 2016 at 19:33:31 UTC, Mike Parker wrote:
The theme is not set in stone, so if you have any suggestions 
fire away.


The font is way too big!


The Official D Blog is Live

2016-06-03 Thread Mike Parker via Digitalmars-d-announce
The D Blog was born at DConf this year. With help from Jack 
Stouffer, it is now live at:


http://dlang.org/blog/

The inaugural post is a short list of some of the work Andrei is 
doing with the D Foundation. That's one of the things you can 
expect to see -- updates on what's going on behind the scenes, 
sometimes with more detail than what you see in this first post. 
You will also see posts regarding projects in the D community at 
large (and I am going to scour the web for projects from people 
who don't post here -- I know they're out there) and guest posts 
from certain people I intend to prod into action. I hope it 
becomes a source of useful information for the community and 
beyond.


It may take a short bit for me to get my blog legs back. It's 
been a long time since I've done this on a regular basis. Once I 
find my rhythm, I hope to establish a regular posting pattern.


The theme is not set in stone, so if you have any suggestions 
fire away.