Feed aggregator

DrupalCon News: Help Make the Site Building Track Memorable

Planet Drupal - Wed, 10/02/2016 - 08:52

Session Submissions for DrupalCon New Orleans are open, and we need you to send in sessions related to site building. A site building session was one of my best DrupalCon memories:

Categories: Elsewhere

Valuebound: Creating Home page and basic pages

Planet Drupal - Wed, 10/02/2016 - 08:31

Creating a Home page in Drupal 8 is quite similar to Drupal 7.  just we need to create a page and assigning that page to display on <front> page or prompted other node to be display on home page. However, you may wish to have a custom static page on your site instead. This article will guide you through the process of changing the front page of your Drupal 8 website.

Step 1 :  Log into your Drupal 8    
Step 2 : select “manage”  menu from the toolbar.  the main menu across the top, select the Menu option.

under manage you will find “

Categories: Elsewhere

Guido Günther: Debian Fun in January 2016

Planet Debian - Wed, 10/02/2016 - 08:10
Debian LTS

January was the ninth month I contributed to Debian LTS under the Freexian umbrella. In total I spent 13 hours working on:

  • LTS Frontdesk duties like the triaging of 34 CVEs. That was about twice as much CVEs coming as during December's frontdesk work.

  • I looked into what needs to be done DLA wise when we move from Squeeze to Wheezy. For that I added a script do find discrepancies between Squeeze LTS and Wheezy.

  • I uploaded giflib to squeeze-lts(DLA-389-1), wheezy(#812363) and jessie(#812362) proposed updates.

  • I forward ported the fix for CVE-2015-5291 for polarssl to Wheezy adding autopkgtests on the way (#812420) (forward port to Jessie happend in February)

  • I forward ported a patch for freetype fixing CVE-2014-9674 to wheezy(DSA-3461-1) - Jessie being not affected.

  • Finally I added some basic autopkgtests to icu (#813338).

There was no progress on using the same nss in all suites. This will continue in February as does the Squeeze-lts Wheezy forward porting.

Other Debian stuff
Categories: Elsewhere

Modules Unraveled: 155 Using the Block Visibility Groups Module as a Lightweight Replacement for Context and Panels in Drupal 8 with Ted Bowman - Modules Unraveled Podcast

Planet Drupal - Wed, 10/02/2016 - 07:00
Published: Wed, 02/10/16Download this episodeScheduled Updates
  • What is the Scheduled Updates module?
  • How does it differ from the Scheduler module?
  • What are some of the use cases? What types of updates can be scheduled?
  • Is it ready to be used?
Block Visibility Groups
  • What is Block Visibility Groups?
  • How does it differ from Context and Panels?
  • Do you intend it to be a replacement for context?
  • When would you use it instead Panels
  • What are some example use cases?
  • How does it work with other D8 block-related modules?
  • Is it ready to be used?
Episode Links: Ted on drupal.orgTed on TwitterTed on GithubSix Mile TechScheduled UpdatesBlock Visibility GroupsField as BlockSimple BlockTags: Drupal 8Scheduled UpdatesBlock Visibility Groupsplanet-drupal
Categories: Elsewhere

Darryl Norris's Blog: Rebuilding DarrylNorris.com Using Drupal 8

Planet Drupal - Wed, 10/02/2016 - 01:28

I have been experimenting with Drupal 8 for about a year and half trying to be ready to use it in my projects. Currently Drupal 8 is interesting stage where some Drupal 7 project have been doing a straight port, some of them are been re-architecture and some project have die. For this reason I have decide to try it out some of those new contrib projects with Drupal 8 version on a production site www.darrylnorris.com. There few things that I took consider before I started working on rebuilding my website. I wanted to have my website with a decent front page load time under 2 seconds. I did not wanted to do a migration because my website is very small so I thought it will be better to rebuild the entire website instead of migrating. Also, I wanted to make it into a blog, because my previous website I had lot other things plan for the website and I never did; as results, I ended up with some a lot unnecessary contrib modules. Finally, my website should SEO friendly. What theme ? Casper Be

Categories: Elsewhere

Acquia Developer Center Blog: Around the Drupal World in 120 Days with Enzo

Planet Drupal - Tue, 09/02/2016 - 21:41

Listen to Drupal developer, contributor and businessperson, Enzo Garcia talk about how he is traveling around the world for 120 days in 2016, spreading the word in India, Asia and Australasia about building community and identity, the importance of Drupal 8 in the developing world, and the Drupal Console.

"As Larry Garfield said, Drupal 7 was an island. In real life, we have islands in communities, because we don’t know what boats we need to take to get to that island."

Keeping promises, fostering communities

During the election for the Drupal Association Community Board seat in 2015, Enzo made a promise: "I promised I will try to help local communities in developing countries to increase their presence in Drupal worldwide community, and the only way I found is to visit them and teach them how to use Drupal, the Drupal Console, to promote them writing documentation for Drupal 8 in their mother language ... And maybe to try to grow out the community in that way."

"I am going to New York first, Singapore, Vietnam, Korea - South Korea, Japan, five cities in China, Thailand, Cambodia, Hong Kong, Philippines, maybe Australia and New Zealand. I am trying to put my money where my mouth is. I said that it’s possible and I am trying to do it. I’m having a sponsor recently, a Chinese person. He wants to invite me to do a session in Beijing, and he paid my flight to go to Beijing."

Q: So you’re going to meet-ups; you’re going to companies; you’re talking with these local communities. What is it that you’re promoting? What is your mission with these communities in the developing world?

My mission is to save them – okay, you can do more for yourself. You need to try to believe in yourself. You’re now to start to write documentation in your language, in [Chinese] and they - in Thai, in any language, because [Unintelligible] you solve your problems, right? Obviously, the idea is Drupal 8 is coming out, so it’s the learning curve. Everybody, they still worry about that, so I want to try to show them it’s not that – it’s difficult, but it’s not impossible; and try to put a seed in there to – in the - in many things, like they need to be more participate – they need to participate more in DrupalCons or near Drupal Camps to try to create a better Asian community around Drupal.

So my idea is we’ll be really – I will be really happy if we start to see more contributions from China and maybe pushing the Drupal Association to try to have some multilingual information in their homepage, because the main complaint, they say, for instance, I talk with people from Korea and Japan and China, it’s like when they try to sell or find something, Drupal.org is not the best source of information for them. This is something they really want.

They are working as an island. For instance, they have a drupalchina.cn website, and they publish a lot of information. Nobody knows about that. They don’t use their GDOs, because they don’t feel this is a good way to communicate in their community. So I think the challenge is for Drupal organization around the world is to try to find the proper channels to communicate with them. So what I did, I do some research and I discovered they used QQ, which is a clone of ICQ, and then I create my account and it was in Chinese. It was a nightmare at the beginning, but now finally, I found the groups and they are totally open. If you follow this group, this is like 4,000 people talking about Drupal problems, issues, documents; and they really love when some people overseas tried to share something with them.

As Larry Garfield said, Drupal 7 was an island. In real life, we have islands in communities, because we don’t know what boats we need to take to get to that island.

Q: So are you doing this trip to build some bridges between those islands and start to connect us better?

That is the point. It is one of the ideas. I have to learn about them. As I say, we need to learn what is doing for them, because maybe IRC, as you’ve said in the beginning in the session, is popular for Drupalers, but that doesn’t mean it’s the unique way to reach people. So I think in any country or any region, we need to find the options we have to communicate with them.

Interview video - 28 min.

120 days, 3 missions

Q: You've got three themes you're highlighting during your 120 trip. What are they?

Enzo: "The first thing is convincing local communities to believe in themselves and to grow themselves to produce documentation, to produce – to help each other in their own languages."

Q: Second. What is it that makes Drupal 8 an especially good fit for people in the developing world that you’re visiting?

Enzo: "Okay, because I grew up in a developing country, I am Colombian by birth, sometimes we don’t use first class software because we believe it’s expensive and will be really hard to find resources to do that. So for the reason in developing countries, you see some government sites that are really bad. So I think if we can provide the tools to teach them, you can create first class product for yourself; not to sell in USA, for America or Europe. So you can create first class products for your government, for universities. So the quality of life will be elevated. Because for instance, in Africa they have more mobiles and they don’t have mobile or responsive government websites, because all the solutions they have are really expensive. So this is my point of view. So giving them the tools to do a first class product, will we change their societies. The Drupal community is providing the best possible enterprise professional government quality software to anyone who wants to solve a problem in their own country. So they don’t need to look solutions out there. They just need to learn the first class product to do first class stuff for your citizens.

Q: Third. Now, your third message. The Drupal Console that run with Jesus Olivas and some other great people. What is the Drupal Console is and why people should be using it? What does it do?

Enzo: Drupal Console is a tool built using Symfony Console in the same way the Drupal 8 used Symfony components to create Drupal 8. We do the same to try to bring the awesomeness that Symfony Console provides in the Drupal work, and the main feature is to generate Drupal 8 code. You can generate controllers, models, forms, or in the basic stuff you need to be as a Drupal developer. In that way...

Q: So it saves me writing a lot of boilerplate code, for one.

Enzo: "Exactly. So you don't need to worry about that at the beginning. You could be productive in five minutes, and then just be concentrate in the business logic of the company. The second thing is we can create content that is good. In terms of local community, Drupal Console provides a special addition to local communities. We have right now 12 languages supported. Hindi, for example. That is good for DrupalCon India, and it’s translated in more than 80% to Hungarian, Romanian, Chinese, and Vietnamese.

It’s like Nelson Mandela said, "If you speak to someone in their mother language, you touch their heart." So we are trying to do that. So you can do two [Unintelligible] stuff fast and quickly, and if you speak Chinese, that is like that opened your mind totally.

Guest dossier
  • Name: Enzo
  • Work affiliation: CTO, Anexus
  • Drupal.org: enzo
  • Twitter: @enzolutions
  • LinkedIn: Eduardo Garcia
  • Website: enzolutions.com
  • Current projects: Drupal Console
  • 1st version of Drupal/PHP: Drupal 6. Enzo read Pro Drupal Development in 48 hours before a job interview, got the job, trained two others in Drupal and delivered his first project in three months!
Podcast series: Drupal 8Skill Level: Beginner
Categories: Elsewhere

Mark Brown: Maintaining your email

Planet Debian - Tue, 09/02/2016 - 20:47

One of the difficulties of being a kernel maintainer for a busy subsystem is that you will often end up getting a lot of mail that requires reading and handling which in turn requires sending a lot of mail out in reply. Some of that requires thought and careful consideration but a lot of it is quite routine and (perhaps surprisingly) there is often more challenge in doing a good job of handling these routine messages.

For a long time I used to hand write every reply I sent but the problem with doing that is that sending the same message a lot of times tends to result in the messages getting more and more brief as the message becomes routine and practised. Your words become more optimised and if you’ve stopped thinking about the message before you’ve finished typing it then there’s a desire to finish the typing and get on to the next thing. This is I think a lot of the reputation that kernel maintainers have for being terse and unhelpful comes from – messages that are very practised for someone sending them all the time aren’t always going to be obvious or helpful for someone who’s not so intimately familiar with what’s going on. The good part of it is that everyone is getting a personalised response and it’s easy to insert a comment about that specific situation when you’re already replying but it’s not clear that the tradeoff is a good one.

What I’ve started doing instead for most things is keeping a set of pre-written paragraphs for common cases that I can just insert into a mail and edit as needed. Hopefully it’s working well for people, it means the replies are that bit more verbose than they might otherwise be (mainly adding an explanation of why a given thing is being asked for) but can easily be adapted as needed. The one exception is the “Applied, thanks” mails I used to send when I apply a patch (literally just saying that). Those are now automatically generated by the script I use to sync my local git repository with kernel.org and very much more verbose:

From: Mark Brown <broonie@kernel.org> To: ${CCS} Cc: ${LIST} Subject: ${SUBJECT} In-Reply-To: ${MSGID} The patch ${TITLE} has been applied to the ${REPO} tree at ${URL} ${BRANCH} All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

(unfortunately this bit seems to be something that it’s worth pointing out)

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark

(the script does try to CC relevant lists). As well as giving people more information this also means that the mails only get sent out when things actually get published to my public repositories which avoids some confusion that used to happen sometimes with people getting my replies before I’d pushed, especially when I’d been working with poor connectivity as often happens when travelling. On the down side it’s very much an obvious form letter which some people don’t like and which can make people glaze over.

My hope with this is to make things easier on average for patch submitters and easier for me, feedback on the scripted e-mails appears to be good thus far and the goal with the pasted in content is that it should be less obvious that it’s happening so I’d expect less feedback there.

Categories: Elsewhere

Jose M. Calhariz: A Selection of Talks from FOSDEM 2016

Planet Debian - Tue, 09/02/2016 - 20:23

It's that time of the year where I go to FOSDEM (Free and Open Source Software Developers' European Meeting). The keynotes and the maintracks are very good, with good presentations and contents.

It's very dificult to choose what talks to see, what talks to see later in video and what talks to loose. What I leave here is my selection of talks. This selection is representative of my tastes, not of the quality of the presentations. I will give links for material that is available now. I will do periodic updates when the new material is available: video or slides.

Categories: Elsewhere

Mike Gabriel: Systemd based network setup on Debian Edu jessie workstations

Planet Debian - Tue, 09/02/2016 - 19:35

This article describes how to use systemd-networkd on Debian Edu 8.x (aka jessie) notebooks.

What we have to deal with?

At the schools we support we have several notebooks running Debian Edu 8.x (aka jessie) in the field.

For school notebooks (classroom sets) we install the Debian Edu Workstation Profile. Those machines are mostly used over wireless network.

We know that Debian Edu also offers a Roaming Workstation Profile at installation time, but with that profile chosen, user logins create local user accounts and local home directories on the notebooks (package: libpam-mklocaluser). For our customers, we do not want that. People using the school notebooks shall always work on their NFS home directories. School notebooks shall not be usable outside of the school network.

Our woes...

The default setup on Debian Edu jessie workstations regarding networking is this:

  • systemd runs as PID 1
  • ifupdown manages static network interfaces (eth0, etc.)
  • NetworkManager manages wireless network interfaces
  • for our customers we configured NetworkManager with a system-wide WiFi (WPA2-PSK) profile

We have observed various problems with that setup:

  • By default, network interface eth0 is managed by ifupdown (via /etc/network/interfaces):
    auto eth0 iface eth0 inet dhcp

    Woe no. 1: In combination with systemd, this results in a 120sec delay at system startup.

read more

Categories: Elsewhere

Palantir: The Secret Sauce podcast, Ep. 04

Planet Drupal - Tue, 09/02/2016 - 19:04

Wouldn't it be nice to have a butler on hand to help streamline things? Well, in this case we're not talking about a person who comes to your house and waits on you, but rather an impressive and integral front-end development tool developed internally at Palantir.net to help automate some of our work.

iTunes | RSS Feed | Download

Butler does a lot of things and has plenty of features, which our Front-End Developer Lauren Byrwa talks about in this week's short-form podcast called The Secret Sauce. Things like:

  • Gulp integration
  • Compiles your Sass and rebuilds your prototype
  • Moves your prototype into Drupal 7 or Drupal 8
  • Refreshes your browser so you can see updates simultaneously in multiple places
  • Plenty of optimization options, too, so you know where exactly the performance issues are coming from

Thanks for listening, and look for our long-form podcast On the Air With Palantir this Thursday!

Want to talk about how to streamline and test your front-end work to ensure you have the absolute best performance on your site? Let's schedule a time to talk.

Categories: Elsewhere

Sven Hoexter: examine gpg key properties

Planet Debian - Tue, 09/02/2016 - 17:03

Note to myself so I don't have to search for it the next time I've to answer security audit questions.

If you're lucky and you're running Debian you can install pgpdump and use

gpg --export-options export-minimal --export $KEYID | pgpdump

to retrieve a human friendly output. If you're unlucky you have to use

gpg --export-options export-minimal --export $KEYID | gpg --list-packets

and match the CIPHER_ALGO_∗ and DIGEST_ALGO_∗ numbers with those in include/cipher.h.

Found the information in this thread.

Update: anarcat suggested to take a look at the tools contained in hopenpgp-tools.

Categories: Elsewhere

Cryptic.Zone: Drupal 8 Cheatsheet for Developers

Planet Drupal - Tue, 09/02/2016 - 17:02

It has been a few months since Drupal 8 was released and sites built with it are starting to crop up. I myself have had the pleasure of working with it, and more Drupal 8 projects are certainly on the horizon. From a developer's perspective, this version is substantially different from the previous one, and we will need to learn a handful of new ways of doing things. To ease the process, I have put together this list of how-tos with tasks that I commonly encounter during development. I hope you will find it helpful.

Categories: Elsewhere

Joachim Breitner: GHC performance is rather stable

Planet Debian - Tue, 09/02/2016 - 16:17

Johannes Bechberger, while working on his Bachelor’s thesis supervised by my colleague Andreas Zwinkau, has developed a performance benchmark runner and results visualizer called “temci”, and used GHC as a guinea pig. You can read his elaborate analysis on his blog.

This is particularly interesting given recent discussions about GHC itself becoming slower and slower, as for example observed by Johannes Waldmann and Anthony Cowley.

Johannes Bechberger’s take-away is that, at least for the programs at hand (which were taken from the The Computer Language Benchmarks Game, there are hardly any changes worth mentioning, as most of the observed effects are less than a standard deviation and hence insignificant. He tries hard to distill some useful conclusions from the data; the one he finds are:

  • Compile time does not vary significantly.
  • The compiler flag -O2 indeed results in faster code than -O.
  • With -O (but not -O2), GHC 8.0.1 is better than GHC 7.0.1. Maybe some optimizations were promoted to -O?

If you are interested, please head over to Johannes’s post and look at the gory details of the analysis and give him feedback on that. Also, maybe his tool temci is something you want to try out?

Personally, I find it dissatisfying to learn so little from so much work, but as he writes: “It’s so easy to lie with statistics.”, and I might add “lie to yourself”, e.g. by ignoring good advise about standard deviations and significance. I’m sure my tool gipeda (which powers perf.haskell.org) is guilty of that sin.

Maybe a different selection of test programs would yield more insight; the benchmark’s games programs are too small and hand-optimized, the nofib programs are plain old and the fibon collection has bitrotted. I would love to see a curated, collection of real-world programs, bundled with all dependencies and frozen to allow meaningful comparisons, but updated to a new, clearly marked revision, on a maybe bi-yearly basis – maybe Haskell-SPEC-2016 if that were not a trademark infringement.

Categories: Elsewhere

Alessio Treglia: The poetic code

Planet Debian - Tue, 09/02/2016 - 12:31

 

As well as the simple reading of a musical score is sufficient to an experienced musician to recognize the most velvety harmonic variations of an orchestral piece, so the apparent coldness of a fragment of program code can stimulate emotions of ecstatic contemplation in the developer.

Don’t be misled by the simplicity of the laconic definition of the code as a sequence of instructions to be given to a computer to solve a specific problem. Generally, a problem has multiple solutions, the most simple and fast to implement, the most economical from the point of view of machine cycles or memory, the elegant solution and the makeshift one.

However, there is always a “poetic” solution, the one that has a particular and unusual beauty and that is always generated by the inexhaustible forge of the human intuition….

[Read More…]

Categories: Elsewhere

Ingo Juergensmann: Letsencrypt - when your blog entries don't show up on Planet Debian

Planet Debian - Tue, 09/02/2016 - 12:27

Recently there is much talk on Planet Debian about LetsEncrypt certs. This is great, because using HTTPS everywhere improves security and gives the NSA some more work to decrypt the traffic.

However, when you enabled your blog with a LetsEncrypt cert, you might run into the same problem as I: your new article won't show up on Planet Debian after changing your feed URI to HTTPS. The reason seems to be quite simple: planet-venus, which is the software behind Planet Debian seems to have problems with SNI enabled websites.

When following the steps outlined in the Debian Wiki, you can check this by yourself: 

INFO:planet.runner:Fetching https://blog.windfluechter.net/taxonomy/term/2/feed via 5
ERROR:planet.runner:HttpLib2Error: Server presented certificate that does not match host blog.windfluechter.net: {'subjectAltName': (('DNS', 'abi94oesede.de'), ('DNS', 'www.abi94oesede.de')), 'notBefore': u'Jan 26 18:05:00 2016 GMT', 'caIssuers': (u'http://cert.int-x1.letsencrypt.org/',), 'OCSP': (u'http://ocsp.int-x1.letsencrypt.org/',), 'serialNumber': u'01839A051BF9D2873C0A3BAA9FD0227C54D1', 'notAfter': 'Apr 25 18:05:00 2016 GMT', 'version': 3L, 'subject': ((('commonName', u'abi94oesede.de'),),), 'issuer': ((('countryName', u'US'),), (('organizationName', u"Let's Encrypt"),), (('commonName', u"Let's Encrypt Authority X1"),))} via 5

I've filed bug #813313 for this. So, this might explain why your blog post doesn't appear on Planet Debian. Currently there seem 18 sites to be affected by this cert mismatch.

Kategorie: DebianTags: DebianSoftwareBugPython 
Categories: Elsewhere

Michal &#268;iha&#345;: Weekly phpMyAdmin contributions 2016-W05

Planet Debian - Tue, 09/02/2016 - 12:00

Last week was really focused on code cleanups. The biggest change was removal of PmaAbsoluteUri configuration directive, which has caused quite some pain in past and is not really needed these days (when browsers support relative paths in the Location HTTP header).

This lead to cleanup in other parts as well - support for dead Mozilla Prism is gone, used HTTPS for OpenStreetMap tiles (the map layer now works on HTTPS as well), removed ForceSSL configuration directive as this is something what really needs to be handled at web server level. To improve test coverage, several tests no longer require runkit as the header() call is wrapped within Response class and can be overridden for testing without using runkit.

The list of handled issues is not that impressive this week:

Filed under: English phpMyAdmin | 0 comments

Categories: Elsewhere

Pages

Subscribe to jfhovinne aggregator