Feed aggregator

Ritesh Raj Sarraf: Fully SSL for my website

Planet Debian - Fri, 15/07/2016 - 12:24

I finally made full switch to SSL for my website. Thanks to this simple howto on Let's Encrypt. I had to use the upstream git repo though. The Debian packaged tool, letsencrypt.sh, did not have enough documentation/pointers in place. And finally, thanks to the Let's Encrypt project as a whole.

PS: http is now redirected to https. I hope nothing really breaks externally.

Categories: Keywords: Like: 
Categories: Elsewhere

Andrew Cater: Who wrote Hello world

Planet Debian - Fri, 15/07/2016 - 00:43
Who wrote "Hello, world" ?Rereading Kernighan and Ritchie's classic book on C - https://en.wikipedia.org/wiki/The_C_Programming_Language - almost the first thing you find is the listing for hello world. The comments make it clear that this is a commonplace - the sort of program that every programmer writes as a first test - the new computer works, the compiler / interpreter produces useful output and so on. It' s the classic, canonical thing to do.
A long time back, I got asked whether programming was an art or a science: it's both, but most of all it's only good insofar as it's shared and built on. I used hello world as an example: you can write hello world. You decide to add different text - a greeting (Hej! / ni hao / Bonjour tout le monde! )for friends. 
You discover at / cron / anacron - now you can schedule reminders "It's midnight - do you know where your code is?" "Go to bed, you have school tomorrow"
You can discover how to code for a graphical environment: how to build a test framework around it to check that it _only_ prints hello world and doesn't corrupt other memory ... the uses are endless if it sparks creativity.
If you feel like it, you can share your version - and learn from others. Write it in different languages - there's the analogous 99 bottles of beer site showing how to count and use different languages at www.99-bottles-of-beer.net
Not everyone will get it: not everyone will see it but everyone needs the opportunity 
Everyone needs the chance to share and make use of the commons, needs to be able to feel part of this 
Needs to be included: needs to feel that this is part of common heritage. If you work for an employer: get them to contribute code / money / resources - even if it's as a charitable donation or to offset against taxes
If you work for a government: get them to use Free/Libre/Open Source products
If you work for a hosting company / ISP - get them to donate bandwidth for schools/coding clubs.
Give your time, effort, expertise to help: you gained from others, help others gain
If you work for an IT manufacturer - get them to think of FLOSS as the norm, not the exception

 

 
Categories: Elsewhere

Janez Urevc: Presentations about various Drupal 8 media modules

Planet Drupal - Thu, 14/07/2016 - 22:34
Presentations about various Drupal 8 media modules slashrsm Thu, 14.07.2016 - 22:34

In the past few months I gave many talks about the modules that we created as part od Drupal 8 media initiative.

Slide decks for all sessions are available on GitHub and are released under Attribution-NonCommercial-ShareAlike 4.0 International License. This basically means that anyone is free to change and use them for non-commercial purposes. The only thing I ask is to give attribution to the original authors.

If you'd like to give a similar talk at your local meetup or camp feel you are encouraged to do so.

What are the topics that you can cover?

Entity embed

Embedding solution for Drupal 8: https://github.com/slashrsm/entity-embed-session.

Entity browser

Entity browsing and selecting tool for Drupal 8: https://github.com/slashrsm/entity-browser-session.

Drupal 8 cropping

Cropping solutions for Drupal 8: https://github.com/slashrsm/d8-cropping-session.

I co-authored and co-presented this session with Alexander Ross.

NP8 enterprise media distribution

Enterprise media distribution built on Drupal 8: https://github.com/slashrsm/np8-session.

Categories: Elsewhere

Sune Vuorela: Leaky lambdas and self referencing shared pointers

Planet Debian - Thu, 14/07/2016 - 22:27

After a bit of a debugging session, I ended up looking at some code in a large project

m_foo = std::make_shared<SomeQObject>(); /* plenty of lines and function boundaries left out */ (void)connect(m_foo.get(), &SomeQObject::someSignal, [m_foo]() { /* */ });

The connection gets removed when the pointer inside m_foo gets de-allocated by the shared_ptr.
But the connection target is a lambda that has captured a copy of the shared_ptr…

There is at least a couple of solutions.

  • Keep the connection object (QMetaObject::Connection) around and call disconnect in your destructor. That way the connection gets removed and the lamda object should get removed
  • Capture the shared pointer by (const) reference. Capture the shared pointer as a weak pointer. Or as a raw pointer. All of this is safe because whenever the shared pointer gets a refcount of zero, the connection gets taken down with the object.

I guess the lesson learnt is be careful when capturing shared pointers.

Categories: Elsewhere

ImageX Media: Higher Education Notes and Trends for the Week of July 11, 2016

Planet Drupal - Thu, 14/07/2016 - 22:10

There’s never a dull moment in the higher education sector. This week, we had our eyes on a dozen interesting articles across higher education. As always, you’ll find an undercurrent of themes that generally revolve around revenue and student demographics. This week’s higher education notes and trends has topics ranging from wealth distribution amongst North American post-secondary institutions, “over-education” of millennials and enrollment staff becoming the next generation of corporate headhunters.

Categories: Elsewhere

Acquia Developer Center Blog: Accessibility Testing: The Basic Facts You Need to Know

Planet Drupal - Thu, 14/07/2016 - 22:04

As businesses realize the importance of having an accessible website, there is a push to check both content and code to ensure that they are meeting 508 compliance standards and other accessibility standards, such as the Web Content Accessibility Guidelines (WCAG).

Tags: acquia drupal planet
Categories: Elsewhere

Lullabot: Rapidly Iterating with the ELMS Learning Network Drupal Distribution

Planet Drupal - Thu, 14/07/2016 - 22:00
Matt and Mike talk to Bryan Ollendyke and Michael Potter about everything LMS (Learning Management System) and their ELMSLN Drupal distribution that goes a long way into solving problems within that niche.
Categories: Elsewhere

Valuebound: How to define an Event, Dispatcher and Subscriber in Drupal 8?

Planet Drupal - Thu, 14/07/2016 - 21:50

As we all know Symfony Event Components are  included in Drupal8 core. In future versions of Drupal Core, Events are going to play a major role for sure. Let’s see how the Event component is going to help our Drupal Development. 

In one of the recent project, we got a tricky requirement in content authoring and publishing workflow. In specific, the Editor has to get a notification for reviewing, once a content author writes an article and saves it for reviewing. By using Events we can easily achieve this kind of  …

Categories: Elsewhere

Steve Kemp: Adding lua to all the things!

Planet Debian - Thu, 14/07/2016 - 20:00

Recently Antirez made a post documenting a simple editor in 1k of pure C, the post was interesting in itself, and the editor is a cute toy because it doesn't use curses - instead using escape sequences.

The github project became very popular and much interesting discussion took place on hacker news.

My interest was piqued because I've obviously spent a few months working on my own console based program, and so I had to read the code, see what I could learn, and generally have some fun.

As expected Salvatore's code is refreshingly simple, neat in some areas, terse in others, but always a pleasure to read.

Also, as expected, a number of forks appeared adding various features. I figured I could do the same, so I did the obvious thing in adding Lua scripting support to the project. In my fork the core of the editor is mostly left alone, instead code was moved out of it into an external lua script.

The highlight of my lua code is this magic:

-- -- Keymap of bound keys -- local keymap = {} -- -- Default bindings -- keymap['^A'] = sol keymap['^D'] = function() insert( os.date() ) end keymap['^E'] = eol keymap['^H'] = delete keymap['^L'] = eval keymap['^M'] = function() insert("\n") end

I wrote a function invoked on every key-press, and use that to lookup key-bindings. By adding a bunch of primitives to export/manipulate the core of the editor from Lua I simplified the editor's core logic, and allowed interesting facilities:

  • Interactive evaluation of lua.
  • The ability to remap keys on the fly.
  • The ability to insert command output into the buffer.
  • The implementation of copy/past entirely in Lua_.

All in all I had fun, and I continue to think a Lua-scripted editor would be a neat project - I'm just not sure there's a "market" for another editor.

View my fork here, and see the sample kilo.lua config file.

Categories: Elsewhere

Freelock : Ask Freelock: Why haven't you migrated to Drupal 8?

Planet Drupal - Thu, 14/07/2016 - 19:11

Richard asks:

Just a question after reading an article posted here back from January 21, 2016 on Drupal 8, why Freelock.com has not moved to Drupal 8?  Just wondering if there was a particular reason we should avoid before jumping in?  Thanks.

Ha! What a great question!

Three reasons: Time, requirements, priorities.

Drupal PlanetDrupal 8Decision-makingValue
Categories: Elsewhere

Mediacurrent: A Marketer Meets GitHub

Planet Drupal - Thu, 14/07/2016 - 18:20

One of the many perks of working at Mediacurrent is the ability to work in the comfort of your own home or nearby coffee shop.

Categories: Elsewhere

Appnovation Technologies: Appnovators Submit 7 Sessions for DrupalCon Dublin

Planet Drupal - Thu, 14/07/2016 - 18:20

DrupalCon is the heartbeat of the Drupal community, where important connections are made, improvements to the project happen, and cutting edge knowledge is shared.

Categories: Elsewhere

jfhovinne reopened pull request ec-europa/platform-dev#749

Devel - Thu, 14/07/2016 - 16:18
Jul 14, 2016 jfhovinne reopened pull request ec-europa/platform-dev#749 NEXTEUROPA-10100: add news schema, update backend and fix dependency. 1 commit with 55 additions and 18 deletions
Categories: Networks

jfhovinne merged pull request ec-europa/platform-dev#749

Devel - Thu, 14/07/2016 - 16:17
Jul 14, 2016 jfhovinne merged pull request ec-europa/platform-dev#749 NEXTEUROPA-10100: add news schema, update backend and fix dependency. 1 commit with 55 additions and 18 deletions
Categories: Networks

Amazee Labs: Impressions from Drupal Summer Barcelona

Planet Drupal - Thu, 14/07/2016 - 14:20
Impressions from Drupal Summer Barcelona

Last week, a few more than 100 Drupalistas gathered in sunny Barcelona for a conference. Let me share a few impressions from the sprints, trainings and sessions which were accompanied by good weather and the expected beach vibes.

Josef Dabernig Thu, 07/14/2016 - 14:20

The Spanish Drupal community is one of the most active to my knowledge. They organize a variety of Drupal events within a year. After DrupalCamp Spain in Granada and before the upcoming Drupal Day in Galicia, the Catalan user group DRUPAL.CAT invited us for Drupal Summer Barcelona last weekend.

The excellent venue Citilab was already familiar from previous events like Drupal Developer Days 2012 (that's where I ran my first contribution sprint around mapping). DrupalCon Barcelona 2007 was also hosted there, I was told :)

Friday started with trainings and sprints. Forcontu provided a full day of free Drupal 8 Site Building introduction to a packed room of people getting started with setting up their first sites. 

The sprints were again a great place to start working on tickets. As part of my session preparation, I cleaned up a few tickets for the #d8rules initiative. It was superb to connect with great minds from the community like Jose Jiménez (picture above) or Juampy NR.

Saturday's focus was sessions. Check the schedule for a list of inspiring talks both in English and Spanish.

One great feature of Drupal Summer was the vegan food truck, providing delicious food for anyone.

Obviously, the group of attendees was striving to get some summer feeling, so we gathered at the beach after sessions for refreshing swims and great conversations. 

Check my flickr album for more photos from Drupal Summer Barcelona. Thanks to all the organizers for having us at such a well-organized conference!

Categories: Elsewhere

Vardot: DrupalCon 2016 Preview: 4 Reasons to Be Excited

Planet Drupal - Thu, 14/07/2016 - 11:37
Events Read time: 4 minutes

End of the summer is a special time for all the Drupal community members in EMEA, because we start preparing to the new DrupalCon that is coming in September. Do you remember the wonderful sunny time that we’ve spent in Barcelona last year?

 

Vardot to Represent the Middle East's Drupal Community at DrupalCon Barcelona 2015

 

This year we expect to see even more people, to attend even more sessions and to have even more fun. 2016 becomes a year to add to reasons to love Dublin another one - around 2500 members of the Drupal community from different countries will come to the capital of Ireland to learn, collaborate, and network.

 

We’re gonna see a huge spike

This DrupalCon will be the first European DrupalCon since the release of Drupal 8 - one of the longest project in the history of this CMS. According to Dries and his case study, 38% of the developers that didn’t switch to D8 yet are still just trying to learn it. DrupalCon seems to be the perfect place for removing the lack of knowledge and addressing your questions directly to the best industry experts and opinion leaders.

 

 

By the way, if you still didn’t migrate your site to Drupal 8, this article will convince you.

 

Record-breaking number of session submissions

Although the ability to meet and communicate with hundreds of colleagues is something that we all are very excited about, sessions remain the central part of DrupalCon. This year European Drupal community set a new record by submitting 621 topic proposals (which is probably related with the release of D8). The names of winners are not published yet, but we all can be sure that we will have a list of hot and extremely up-to-date topics and must-visit presentations. Yuuum!

 

The #DrupalCon Dublin call for papers ended with a record-breaking number of submissions! https://t.co/J0q395Vy47

— DrupalCon Dublin (@DrupalConEur) July 6, 2016

 

Tons of souvenirs

 

T-shirts, stickers, badges, green bags, paper planes, calendars, t-shirts again - if we’d capture all the giveaways and swag that will be brought from all over the globe to DrupalCon in Dublin, the picture could be even bigger than the one of the conference attendees that I’ve used in the beginning of this blog post. Today at Vardot we were checking souvenirs from Barcelona ’15 and had a big nostalgia about the last year’s event. However, the exhilaration about the upcoming conference is even bigger. We know you all are preparing a lot of interesting stuff, and we are very excited about it. And of course we are preparing ours!

 

Giving back to the community

Open Source is an awesome way to benefit by giving more. Vardot always strives to support the Drupal project, Drupal Association and DrupalCons through sponsorship. We believe that such investments make both the business and the community stronger, and we are really thankful to DrupalCon organizers that they use our support to make this event one of the most affordable tech conferences comparing to others and allow students to attend it with big discounts. Making the community bigger, more passionate, and more professional will make Drupal and our products stronger.

 

See you soon at DrupalCon!

We will be happy to see everyone of you. Pass by our booth, participate in our activities and grab our souvenirs (we’ve prepared a lot this year). We are looking forward to meeting you!

 

Bonus. 7 useful links for attendees

Plan - DrupalCon Dublin Sponsor Calendar

Communicate - List of DrupalCon‘16 Attendees

Know - 11 Cool Facts You Didn’t Know About Dublin

Live - Official Hotels of DrupalCon’16

Prepare - Current Local Time and Weather in Dublin

Eat - Telegraph Guide to the Best Restaurants in Dublin

Go out - How To Enjoy Dublin Without Visiting a Pub

And what are you excited about? Share your expectations, questions and thoughts in comments. 

Tags:  Drupal Planet DrupalCon Title:  DrupalCon 2016 Preview: 4 Reasons to Be Excited
Categories: Elsewhere

Pages

Subscribe to jfhovinne aggregator