Steve Kemp: Blogspam moved, redis alternatives being examined

Planet Debian - Thu, 10/07/2014 - 10:45

As my previous post suggested I'd been running a service for a few years, using Redis as a key-value store.

Redis is lovely. If your dataset will fit in RAM. Otherwise it dies hard.

Inspired by Memcached, which is a simple key=value store, redis allows for more operations: using sets, using hashes, etc, etc.

As it transpires I mostly set keys to values, so it crossed my mind last night an alternative to rewriting the service to use a non-RAM-constrained service might be to juggle redis out and replace it with something else.

If it were possible to have a redis-compatible API which secretly stored the data in leveldb, sqlite, or even Berkley DB, then that would solve my problem of RAM-constraints, and also be useful.

Looking around there are a few projects in this area nds fork of redis, ssdb, etc.

I was hoping to find a Perl Redis::Server module, but sadly nothing exists. I should look at the various node.js stub-servers which exist as they might be easy to hack too.

Anyway the short version is that this might be a way forward, the real solution might be to use sqlite or postgres, but that would take a few days work. For the moment the service has been moved to a donated guest and has 2Gb of RAM instead of the paltry 512Mb it was running on previously.

Happily the server is installed/maintained by my slaughter tool so reinstalling took about ten minutes - the only hard part was migrating the Redis-contents, and that's trivial thanks to the integrated "slave of" support. (I should write that up regardless though.)

Categories: Elsewhere

Russell Coker: A Linux Conference as a Ritual

Planet Debian - Thu, 10/07/2014 - 10:00

Sociological Images has an interesting post by Jay Livingston PhD about a tennis final as a ritual [1]. The main point is that you can get a much better view of the match on your TV at home with more comfort and less inconvenience, so what you get for the price of the ticket (and all the effort of getting there) is participating in the event as a spectator.

It seems to me that the same idea applies to community Linux conferences (such as LCA) and some Linux users group meetings. In terms of watching a lecture there are real benefits to downloading it after the conference so that you can pause it and study related web sites or repeat sections that you didn’t understand. Also wherever you might sit at home to watch a video of a conference lecture you will be a lot more comfortable than a university lecture hall. Some people don’t attend conferences and users’ group meetings because they would rather watch a video at home.

Benefits of Attending (Apart from a Ritual)

One of the benefits of attending a lecture is the ability to ask questions. But that seems to mostly apply to the high status people who ask most questions. I’ve previously written about speaking stacks and my observations about who asks questions vs the number that can reasonably be asked [2].

I expect that most delegates ask no questions for the entire conference. I created a SurveyMonkey survey to discover how many questions people ask [3]. I count LCA as a 3 day conference because I am only counting the days where there are presentations that have been directly approved by the papers committee, approving a mini-conf (and thus delegating the ability to approve speeches) is different.

Another benefit of attending is the so-called “hallway track” where people talk to random other people. But that seems to be of most benefit to people who have some combination of high status in the community and good social skills. In the past I’ve attended the “Professional Delegates Networking Session” which is an event for speakers and people who pay the “Professional” registration fee. Sometimes at such events there has seemed to be a great divide between speakers (who mostly knew each other before the conference) and “Professional Delegates” which diminishes the value of the event to anyone who couldn’t achieve similar benefits without it.

How to Optimise a Conference as a Ritual

To get involvement of people who have the ritualistic approach one could emphasise the issue of being part of the event. For example to get people to attend the morning keynote speeches (which are sometimes poorly attended due to partying the night before) one could emphasise that anyone who doesn’t attend the keynote isn’t really attending the conference.

Conference shirts seem to be strongly correlated with the ritual aspect of conferences, the more “corporate” conferences don’t seem to offer branded clothing to delegates. If an item of branded schwag was given out before each keynote then that would increase the attendance by everyone who follows the ritual aspect (as well as everyone who just likes free stuff).

Note that I’m not suggesting that organisers of LCA or other conferences go to the effort of giving everyone schwag before the morning keynote, that would be a lot of work. Just telling people that anyone who misses the keynote isn’t really attending the conference would probably do.

I’ve always wondered why conference organisers want people to attend the keynotes and award prizes to random delegates who attend them. Is a keynote lecture a ritual that is incomplete if the attendance isn’t good enough?

Related posts:

  1. Length of Conference Questions After LCA last year I wrote about “speaking stacks” and...
  2. meeting people at Linux conferences One thing that has always surprised me is how few...
  3. Creating a Micro Conference The TEDxVolcano The TED conference franchise has been extended to...
Categories: Elsewhere

NEWMEDIA: DrupalCamp Colorado: My "Crossing the Rubicon" Moment

Planet Drupal - Thu, 10/07/2014 - 05:36
DrupalCamp Colorado: My "Crossing the Rubicon" MomentContributing to and interacting with the Drupal community isn't as scary or as daunting as you might think. My advice—take the plunge by attending a local meetup or camp and be open to the many opportunities that will start presenting themselves. It worked for me! Here's my story...

Looking back at my Drupal career, I regret that it took me so long to transition from a bystander to an active participant. I had been building my first large Drupal site for approximately 6 months before I finally faced a bug that annoyed me enough to justify creating an account so I could file my first issue. Still, I was so afraid to look stupid in front my would-be-peers that I used a fake username (frankrizzo) in order to prevent people from being able to make the connection between me and my comments, questions, and requests. This fear was completely irrational, and yet it made me so uncomfortable that it prevented me from communicating with and contributing to the community in any meaningful way.

The only justification I can give for my behavior is that I was a fish out of water. When I started this journey, I turned in my lab coat and ended my career as an engineer (where I knew virtually everything there was to know about my field of training) and jumped head first into the world of immediate gratification known as web development (where I had little to no formal training). I also got it in my head that I was unique in this regard and everyone else had a much more linear career path. However, after being in this community for 5+ years, I've heard story after story about how varied our backgrounds are: journalists, lawyers, designers, MBAs, bicycle repairmen, weldors, librarians, and the list goes on. And while this self-realization has finally eliminated all remaining aspects of impostor syndrome from my psyche, I still regret that fear kept me working in a vacuum during my first 2 years as a Drupal developer.

DrupalCamp Colorado 2011

The turning point for me was when I first started attending meetups. While I still kept quiet (so as to not expose my ignorance), it was at these events where I finally started to learn more about other community events and the benefits of participation. And while it was a little outside of my comfort zone to attend a conference with over 400 people (none of which I new personally beyond a casual conversation), I decided it was finally time to go big or go home.

I'll spare all the gory details, but wanted to highlight three things that have forever changed my involvement within the Drupal Community (as well as open source in general):

  1. The keynote talk by Webchick title Getting Involved in the Drupal Community.
  2. A session by Rick Nashleanas titled The Client Perspective on Website Development and Operation.
  3. A conversation with Webchick, chx, Dave Reid and several other core contributors in the coder lounge.

Webchick's keynote hit home for me because she really focused on the variety of ways one could contribute as well as the value of each contribution (big and small). Until that point, I had this misconception in my head that I needed to be some super human developer (you know, like Dave Reid) in order to be heard or to have any impact at all. However, I left the talk realizing the value of something as simple as reviewing or testing a patch. This is when my itch to contribute started...

The interaction with Rick Nashleanas was inspiring in a different way. I was so moved by the overall thrust of his message that I wanted to see if there was a way to take it further to the rest of the community. I went to talk to him right after the presentation and he immediately invited me to a followup BoF (which was a foreign word to me). Five minutes later, we were sitting around a table and starting to make a game plan. Several months later, it was this conversation that ultimately led me to organizing the Drupal Means Business track at the Day Stage in DrupalCon Denver.

The coder lounge experience was simply surreal. Here sat many of the biggest names in the community and I was actively involved in a heated discussion about how to tweak the drupal.org homepage to best serve all the various user demographics hitting the site. I don't know why I was so shocked that I wasn't dismissed for being a newb. It was yet another case of a fearful imagination gone wild. The reality was were just a bunch of normal yet extremely inteligent and passionate individuals sitting around a table hashing through ways to make Drupal better. I will never forget that experience.

Reflecting on Personal Contributions

I have no delusions of grandeur that what I've been able to contribute matches (or will ever match) some of the heavy hitters in the community. That said, I'm proud of what I've been able to accomplish since 2011. Here are some of the highlights:

More important than the metrics is the hope that I've been able to (in even the smallest ways) inspire others along their Drupal career path to go from bystander to contributor. And then there is the question about whether or not I would have achieved even a fraction of these items had I not attended the camp and had the experiences I've just described. There's no way of knowing for sure (it was, after all, a point of no return) and I'm sure I would have become active eventually, but I'm confident that it was a pivotal event in my career path.

Takeway Message

With over 1 million registered Drupal.org accounts, you would think that contributing (even on the order of a single patch review) would be more commonplace. However, I also wonder if people are holding back out of fear. To anyone in that category looking to contribute in a meaningful way, my advice is simple—get to a camp! You simply never know who will be your Rick Nashleanas that inspires you to take things to the next level.

PS. A short plug for those interested in attending DrupalCamp Colorado 2014! We're only a few weeks away and we don't want you to miss out.

Categories: Elsewhere

Russell Coker: Taxing Inferior Products

Planet Debian - Thu, 10/07/2014 - 04:48

I recently had a medical appointment cancelled due to a “computer crash”. Apparently the reception computer crashed and lost all bookings for a day and they just made new bookings for whoever called – and anyone who had a previous booking just missed out. I’ll probably never know whether they really had a computer problem or just used computer problems as an excuse when they made a mistake. But even if it wasn’t a real computer problem the fact that computers are so unreliable overall that “computer crash” is an acceptable excuse indicates a problem with the industry.

The problem of unreliable computers is a cost to everyone, it’s effectively a tax on all business and social interactions that involve computers. While I spent the extra money on a server with ECC RAM for my home file storage I have no control over the computers purchased by all the companies I deal with – which are mostly the cheapest available computers. I also have no option to buy a laptop with ECC RAM because companies like Lenovo have decided not to manufacture them.

It seems to me that the easiest way of increasing overall reliability of computers would be to use ECC RAM everywhere. In the early 90′s all IBM compatible PCs had parity RAM, that meant that for each byte there was one extra bit which would report 100% of single-bit errors and 50% of errors that involved random memory corruption. Then manufacturers decided to save a tiny amount of money on memory by using 8/9 the number of chips for desktop/laptop systems and probably make more money on selling servers with ECC RAM. If the government was to impose a 20% tax on computers that lack ECC RAM then manufacturers would immediately start using it everywhere and the end result would be no price increase overall as it’s cheaper to design desktop systems and servers with the same motherboards – apparently some desktop systems have motherboard support for ECC RAM but don’t ship with suitable RAM or advertise the support for such RAM.

This principle applies to many other products too. One obvious example is cars, a car manufacturer can sell cheap cars with few safety features and then when occupants of those cars and other road users are injured the government ends up paying for medical expenses and disability pensions. If there was a tax for every car that has a poor crash test rating and a tax for every car company that performs badly in real world use then it would give car companies some incentive to manufacture safer vehicles.

Now there are situations where design considerations preclude such features. For example implementing ECC RAM in mobile phones might involve technical difficulties (particularly for 32bit phones) and making some trucks and farm equipment safer might be difficult. But when a company produces multiple similar products that differ significantly in quality such as PCs with and without ECC RAM or cars with and without air-bags there would be no difficulty in making them all of them higher quality.

I don’t think that we will have a government that implements such ideas any time soon, it seems that our government is more interested in giving money to corporations than taxing them. But one thing that could be done is to adopt a policy of only giving money to companies if they produce high quality products. If a car company is to be given hundreds of millions of dollars for not closing a factory then that factory should produce cars with all possible safety features. If a computer company is going to be given significant tax breaks for doing R&D then they should be developing products that won’t crash.

No related posts.

Categories: Elsewhere

Paul Tagliamonte: Dell XPS 13

Planet Debian - Thu, 10/07/2014 - 04:38

More hardware adventures.

I got my Dell XPS13. Amazing.

The good news: This MacBook Air clone is clearly an Air competitor, and easily slightly better in nearly every regard except for the battery.

The bad news is that the Intel Wireless card needs non-free (I’ll be replacing that shortly), and the touchpad’s driver isn’t totally implemented until Kernel 3.16. I’m currently building a 3.14 kernel with the patch to send to the kind Debian kernel people. We’ll see if that works. Ubuntu Trusty already has the patch, but it didn’t get upstreamed. That kinda sucks.

It also shipped with UEFI disabled, and was defaulting to boot in ‘legacy’ mode. It shipped with Ubuntu, a bit disappointed to not see Ubuntu keys on the machine.

Touchscreen works; in short -stunning. I think I found my new travel buddy. Debian unstable runs great, stable had some issues.

Categories: Elsewhere

Get Pantheon Blog: Drupal Development - "The Gizra Way"

Planet Drupal - Wed, 09/07/2014 - 23:19

Amitai Bustein is one of the founders of Gizra, a legendary Drupal contributor as maintainer of the Organic Groups (og) system, and gives amazing presentations. This is his BoF from DrupalCon Austin in which he explains "the Gizra way". It's a must-see for anyone dreaming of upgrading their development practices.

What's wonderful about Amitai's presentation is not just that it's entertaining and engaging, but that he's presenting hard-won real world experience with the best practices — automated testing, building with installation profiles, and so on. He makes these accessible and inspiring, and explains how these practices pay real-world dividends:

  • Standards, "code smell" is and why they matter.
  • How Harvard reduced the release cycle for OpenScholar from months to weeks with testing.
  • The practical benefits of agile processes and prioritizing "honest code" over formalities.
  • Dealing with deadlines and time estimates.

I've been personally quite impressed with Gizra's work over the years, and for developers looking to level up, or shop owners looking for inspiration and guidance on how to grow, this session is a goldmine. We hope you enjoy it!

Categories: Elsewhere

Mike Gabriel: Cooperation between X2Go and TheQVD

Planet Debian - Wed, 09/07/2014 - 19:51

I recently got in contact with Nicolas Arenas Alonso and Nito Martinez from the Quindel group (located in Spain) [1].

Those guys bring forth a software product called TheQVD (The Quality Virtual Desktop) [2]. The project does similar things that X2Go does. In fact, they use NX 3.5 from NoMachine internally like we do in X2Go. Already a year ago, I noticed their activity on TheQVD and thought.. "Ahaaa!?!".

Now, a couple of weeks back we received a patch for libxcomp3 that fixes an FTBFS (fails to build from source) for nx-libs-lite against Android [3].

read more

Categories: Elsewhere

Phase2: It’s Almost Time for Capital Camp and Drupal Gov Days!

Planet Drupal - Wed, 09/07/2014 - 19:49

We could not be more excited that two of our favorite DC events – Capital Camp and Drupal 4 Gov – are merging! The combined event, happening July 30th through August 1st at the National Institutes of Health, promises to be one of the most informative and inspiring conferences on Drupal and  open source in government yet. Phase2 is proud to be a platinum sponsor of what is sure to be an action-packed conference in the nation’s capital, our hometown.

We’ve lined up 10 of our all-stars to present sessions at this year’s event (we told you we were excited!). Whether you’re interested in design, collaboration, or custom government solutions, we’ve got you covered. Here’s a sneak peek at our speaker roster…

content management solutions for government

Kick off your Capital Camp experience with a case study on How San Mateo County Is Raising the Bar with OpenPublic. Experience Director Shawn Mole and Program Director Felicia Haynes will discuss the technical challenges that San Mateo faced as a local government, and how they utilized Phase2’s Drupal distribution to overcome those obstacles. For more details on OpenPublic, catch OpenPublic 1.0: The Next Generation of Open Source Government Sites, presented by Shawn Mole and Greg Wilson, Director of Public Sector Practice at Phase2. Then learn how to create a “Sleep at Night CMS” with Senior Developer Randall Knutson.

 design and user experience

Necessary Capital Camp preparation: put these three sessions from Phase2’s front-end masterminds on your agenda. Start with Senior Developer Mason Wendell, who knows that great design, like jazz, needs both harmony and discord. His session, Thinking Inside the Box X3, will focus on component-driven design. Senior Designer Joey Groh will expose a real projects’ collaborative design process in his session, Collaborative Design to the Rescue: Photoshop in a post-Photoshop World. Finally, in his talk Amazing Design Through Empathy, Senior Experience Analyst David Spira will illustrate how to use empathy to improve all aspects of product design, from requirements gathering to user research and everything in between.


Drupal has already proven to be a viable alternative to proprietary models for government CMS. Now Open Atrium is helping Drupal provide government agencies with an enterprise grade, open source platform to connect teams, departments and constituents. Learn from Greg Wilson and Mike Potter, Open Atrium’s Lead Architect, how OA2 addresses government collaboration needs in their talk, Open Source Collaboration for Government with Open Atrium. For a story of true open source collaboration and innovation, check out Director of Engineering Steven Merrill’s session on OpenShift and Drupal.

configuration, testing and site building

In recent years, Open Data has evolved from a buzzword to a reality to a requirement for governments, NPOs and NGOs globally. To explore what Open Data is, how to use it, and what it means to your organization’s website and its followers, stop by Senior Developer Robert Bates’ session, Open Data: Not Just a Buzzword. For more advanced developers, Steven Merrill will present on Open Source Logging and Metrics Tools, in which he will dive into the logging infrastructure of drupal.org and how you can apply the same tooling to your own sites. Finally, learn Best Practices for Development, Deployment, and Distributions from Mike Potter.

Be sure to visit our exhibitor booth to learn more about Phase2 and our people,  and of course  to grab some infamous Phase2 swag!  Are you attending Capital Camp and Drupal Days? What sessions are on your must-see list? Let us know below!

Categories: Elsewhere

Liran Tal's Enginx: Migrate Drupal 7 to WordPress 3.9 – The Kickoff

Planet Drupal - Wed, 09/07/2014 - 19:38
This entry is part 1 of 1 in the series Drupal 7 to Wordpress 3.9 Migration

The setting

With no specific reason, or maybe with regards to the strong editing capabilities of WordPress out of the box, I wanted to opt out of Drupal as my blogging platform for enginx.com. Even though I’m a seasoned Drupal developer, even authored a book on Drupal 7 Media, and presented the topic on a local Drupal conference, I decided to migrate Drupal 7 to WordPress. Drupal is suitable for many web applications, although it does require quite an effort to maintain and setup in order to fit it to your needs, while with WordPress most of the blogging capabilities are available out of the box with almost no hassle, and for a good reason – WordPress was primarily developed as a blogging platform.


My Video Course – Step by Step Drupal 7 to WordPress 3.9 Migration

I created a Video course on Udemy.com to teach you the skills of migrating Drupal 7 to WordPress 3.9.

I’d appreciate if you leave a review after taking the quick course

Step-by-Step Drupal 7 to WordPress 3.9 Migration Learn how to migrate your content, users, and more from a Drupal 7 website to WordPress 3.9.


The Journey

So, off I go on my journey to locate an easy process for migrating my content from Drupal 7 to WordPress 3.9 (versions are critical) and the conclusion is quickly made apparent that while there are handful of procedures, modules and guides on converting from WordPress to Drupal, the opposite flow is quite an uncharted area. This is understandable, given that Drupal is a lot more complex in terms of content structure variety as well as having more of a framework nature than a simple blogging platform, but still, I was pretty sure I’m not the only one.

Researching the migration process it yielded a Drupal2Wordpress Github repository which featured a minimal, yet effective, PHP script which claims to do the job. Unlike other solutions that I found, the migration script doesn’t require an actual live instance of both sites up (the old Drupal site, and the new WordPress site), but simply requires to be configured with the database connection details for both platforms and be uploaded to the hosting account which hosts both. Without further adieu, I jumped on to the task, and as with most things open source (and unpopular or unmaintained) – things aren’t quite working out of the box and require further development effort to fine-tune and create a solid migration.

In a follow-up post I will share more details on the process of performing the actual migration to WordPress3.9, stay tuned!

(adsbygoogle = window.adsbygoogle || []).push({});

The post Migrate Drupal 7 to WordPress 3.9 – The Kickoff appeared first on Liran Tal's Enginx.

Categories: Elsewhere

Christoph Berg: New urxvt tab in current directory

Planet Debian - Wed, 09/07/2014 - 19:13

Following Enrico's terminal-emulators comparison, I wanted to implement "start a new terminal tab in my current working directory" for rxvt-unicode aka urxvt. As Enrico notes, this functionality is something between "rather fragile" and non-existing, so I went to implement it myself. Martin Pohlack had the right hint, so here's the patch:

--- /usr/lib/urxvt/perl/tabbed 2014-05-03 21:37:37.000000000 +0200 +++ ./tabbed 2014-07-09 18:50:26.000000000 +0200 @@ -97,6 +97,16 @@ $term->resource (perl_ext_2 => $term->resource ("perl_ext_2") . ",-tabbed"); }; + if (@{ $self->{tabs} }) { + # Get the working directory of the current tab and append a -cd to the command line + my $pid = $self->{cur}{pid}; + my $pwd = readlink "/proc/$pid/cwd"; + #print "pid $pid pwd $pwd\n"; + if ($pwd) { + push @argv, "-cd", $pwd; + } + } + push @urxvt::TERM_EXT, urxvt::ext::tabbed::tab::; my $term = new urxvt::term @@ -312,6 +322,12 @@ 1 } +sub tab_child_start { + my ($self, $term, $pid) = @_; + $term->{pid} = $pid; + 1; +} + sub tab_start { my ($self, $tab) = @_; @@ -402,7 +418,7 @@ # simply proxies all interesting calls back to the tabbed class. { - for my $hook (qw(start destroy key_press property_notify)) { + for my $hook (qw(start destroy key_press property_notify child_start)) { eval qq{ sub on_$hook { my \$parent = \$_[0]{term}{parent}
Categories: Elsewhere

Appnovation Technologies: Three Easy Steps to Setup Google Analytics for Drupal

Planet Drupal - Wed, 09/07/2014 - 16:58
This short tutorial will get you up and running with Google Analytics for Drupal. var switchTo5x = false;stLight.options({"publisher":"dr-75626d0b-d9b4-2fdb-6d29-1a20f61d683"});
Categories: Elsewhere

Commerce Guys: 3 choses qui ralentissent le commerce mondial en ligne et comment les rectifier

Planet Drupal - Wed, 09/07/2014 - 14:28
Aussi attrayante qu’elle soit, l’expression « sensation mondiale instantanée » est une contradiction. La mondialisation exige de prendre des mesures stratégiques et celles-ci requièrent de la recherche et une certaine réflexion. Les sensations qui sont effectivement instantanées sont généralement des succès sans lendemain, et rares. Pour développer une stratégie mondiale réussie et durable, il vous faut prendre le temps de régler les choses qui ralentissent le commerce mondial, puis de pouvoir profiter de la vitesse à laquelle vous réussissez, une fois ces éléments de base en place.    Contraintes juridiques    La publicité et la vente au niveau international présentent une série complexe de considérations juridiques et logistiques. Vous avez besoin d’un accès continu et durable aux informations actualisées pour chaque pays, il vaut donc la peine de demander conseil à un avocat qui connait parfaitement vos pays cibles. Vous devriez également vous abonner aux bulletins ou blogs qui offrent des mises à jour annuelles sur la législation de chaque pays susceptible d’affecter les résultats.  Du type de produit que vous offrez à la façon dont vous faites la publicité de son caractère unique, les pays peuvent avoir des lois qui vous touchent. Il peut s’agir des règlements concernant le moment de la journée où une publicité peut être montrée par exemple, ou des taxes spéciales que vous devez payer pour pouvoir y faire de la publicité.    Paiements mondiaux   Tandis que le paiement par Visa et Mastercard est une bonne idée dans certains pays, celui par PayPal et Western Union est meilleur dans d’autres. Comparez les taux et faites attention aux types de paiement que votre public cible utilise le plus. Il existe plusieurs portails en ligne et emplacements physiques (pour les endroits tels que Western Union) où les paiements peuvent être effectués ainsi que des contrats temporaires. Le portail le plus économique pour les transactions monétaires peut également avoir des restrictions sur le montant d’argent à transférer. Prenez le temps de vous familiariser avec chaque pays et sa préférence de paiement unique, vous en tirerez avantage à long terme.    Traduction   Vous devez faire preuve de prudence pour tout ce que vous traduisez et comment vous le faites. Si vous ne traduisez pas suffisamment, vos utilisateurs seront frustrés et quitteront votre site web. Si vous traduisez tout, mais que vous le faites uniquement avec une traduction automatique, vous n’avez pas le bénéfice de la localisation, et vous risquez d’envoyer un message erroné.    Avant de traduire quoi que ce soit, assurez-vous que la technologie que vous utilisez est suffisamment intelligente pour utiliser les analyses afin de vous indiquer les pages à traduire, qu’elle fonctionne au sein de votre flux de travail et qu’elle vous offre l’occasion de faire vérifier toutes les traductions par des personnes, que cela se fasse par le biais d’une main d’œuvre collaborative ou par des traducteurs professionnels. De plus, assurez-vous que toutes les traductions sont stockées dans une base de données comportant des millions de mots, connue sous « mémoire de traductions » Vous pouvez utiliser la même base de données de traduction partout où sont stockés contenu, sites web, documents, groupes d’utilisateurs ou médias sociaux. Vous n’avez pas besoin de retraduire étant donné que chaque entrée est saisie perpétuellement dans la mémoire pour un usage réitérant.     Une fois vos systèmes en place pour répondre à vos besoins juridiques, de paiement et de traduction, le monde vous appartient, littéralement. Prendre le temps de répondre à ces besoins portera ses fruits pendant de longues années.       
Categories: Elsewhere

Commerce Guys: 3 Things that Slow Down Global Commerce Online, and How to Fix Them

Planet Drupal - Wed, 09/07/2014 - 14:27
As attractive as it sounds, “instant global sensation” is a contradiction in terms. Going global requires strategic moves, and those require research and forethought. Those sensations that are indeed instantaneous are usually one-hit wonders, and rare. In order to build a successful, sustainable global strategy, you need to take the time to address the things that slow global commerce down—and then be able to enjoy the speed with which you succeed after having those foundational pieces in place.    Legal Constraints    Advertising and selling internationally presents a complex series of legal and logistical considerations. You need consistent, sustained access to updated information for each country, so it’s worth seeking the advice of a lawyer who knows your target countries well. You should also subscribe to newsletters or blogs that offer updates on legislation in each country that could affect your bottom line. These updates keep you abreast of upcoming legislation that may affect the bottom line. From the type of product you carry to the way in which you advertise its uniqueness, countries may have laws that affect you. There may be rules for the time of day that an ad can be shown, for example, or special taxes that you have to pay in order to advertise there.    Global Payments   While Visa and Mastercard are good ideas in some countries, PayPal and Western Union are better for others. Compare rates and pay attention to the types of payment your target audience uses most. There are several online portals and physical locations (for places such as Western Union) where payments can be made as well as temporary contracts. The most economical portal for money transactions may also have restrictions on the amount of money being transferred. Spend some time familiarizing yourself with each country and its unique payment preference; it’ll pay in the long run.    Translation   You want to be careful with what and how you translate. If you don’t translate enough, users will get frustrated and leave your website. If you translate everything, but do so only with machine translation, you don’t get the benefit of localization, and may send an inaccurate message.    Before translating anything, make sure that the technology you use is smart enough to use analytics to tell you which pages to translate, that it operates within your workflow, and that it gives you the opportunity to have people vet each translation—whether through crowdsourced labor or by professional translators. Also, make sure that it stores all translations in a database comprised of millions of words, known as “translation memory.” Anywhere content, websites, docs, user groups or social media is stored, you can use the same translation database. You don’t need to re-translate as each entry becomes perpetually entered into memory for repeated use.     Once you have systems in place to address your legal, payment and translation needs, the world literally becomes your oyster. Taking the time to address these needs will pay dividends in the form of future success.     
Categories: Elsewhere

Sune Vuorela: CMake and library properties

Planet Debian - Wed, 09/07/2014 - 08:30

When writing libraries with CMake, you need to set a couple of properties, especially the VERSION and SOVERSION properties. For library libbar, it could look like:

set_property(TARGET bar PROPERTY VERSION “0.0.0″)
set_property(TARGET bar PROPERTY SOVERSION 0 )

This will give you a libbar.so => libbar.so.0 => libbar.so.0.0.0 symlink chain with a SONAME of libbar.so.0 encoded into the library.

The SOVERSION target property controls the number in the middle part of the symlink chain as well as the numeric part of the SONAME encoded into the library. The VERSION target property controls the last part of the last element of the symlink chain

This also means that the first part of VERSION should match what you put in SOVERSION to avoid surprises for others and for the future you.

Both these properties control “Technical parts” and should be looked at from a technical perspective. They should not be used for the ‘version of the software’, but purely for the technical versioning of the library.

In the kdeexamples git repository, it is handled like this:


And a bit later:

set_target_properties(bar PROPERTIES VERSION ${BAR_VERSION}

which is a fine way to ensure that things actually matches.

Oh. And these components is not something that should be inherited from other external projects.

So people, please be careful to use these correct.

Categories: Elsewhere

DrupalCon Amsterdam: Membership: Giving back to the Drupal community

Planet Drupal - Wed, 09/07/2014 - 08:30

Attending DrupalCon for the first time is always a game-changer for Drupal community members. It’s a chance to see the people behind the project, put names to faces, and build stronger connections in-person. You might even feel inspired to do more for the Drupal project thanks to the new friends you make at DrupalCon!

One easy way to do more for the community and the project is to add a Drupal Association Membership to your cart when you buy your Amsterdam ticket. We don’t bundle membership with your ticket because the Drupal community is built on the spirit of giving: our members to join us because they want to give back and push the project forward.

We make it easy to sign up and here’s what you need to know:

  • Membership is annual for Individuals and Organizations
  • You can add membership to your ticket when you check out or buy it separately
  • You can renew an existing or lapsed membership here or on our membership page
  • You can buy memberships for your team. Just add a quantity of Individual Memberships and you’ll be contacted for the names to assign the memberships

All Drupal Association members get special graphic on their conference badge, and will receive discounts on merchandise at the Drupal Association store at the convention. So don’t wait! Sign up to be a member today or when you register, or anytime before DrupalCon to get your Drupal Association member badge and to give back to the Drupal project.

Categories: Elsewhere

DrupalCon Amsterdam: Now offering 9 world-class Drupal trainings at DrupalCon Amsterdam

Planet Drupal - Wed, 09/07/2014 - 08:01

If you have been thinking about increasing your Drupal skills, it's time to take the plunge and submerge yourself in a full-day course with one of our leading world-class Drupal training companies.

These trainings are designed to increase your knowledge and expand your skill set by providing you with:

  • a well-paced agenda to keep you interested during the day
  • real world exercises to put learning into practice
  • professional trainers who are active web experts
  • 12:1 student/trainer ratio, to both give students personal attention and keep the training on track

Whether you are new to Drupal, looking to gain a competitive edge in your career, or simply looking to increase your skill set, there is a training that's right for you.

The cost of attending a training is 400 € and includes a full day of in-depth learning, breakfast, lunch, and those ever-important coffee breaks.

Skip to training by experience level: Beginner | Intermediate | Advanced

Beginner Absolute Beginners Guide to Drupal

This class really is aimed at absolute Drupal beginners. You'll learn all of the key concepts you need to understand, navigate and use a Drupal site. You'll learn how to build a Drupal 7 site, from content and user organization, to working with modules and themes. One of our highest rated trainings three years running!

Company: OSTraining
Drupal Version: Drupal 7.x
Trainer/s: steveburge

Views from the Ground Up

One of the most important sessions I taught as a technical consultant was the one week Drupal Jumpstart. Here, my students learn how to do everything in Drupal from adding content, and installing modules on day 1, all the way to setting up complex multiple content-type relationships and combining their displays using panels and views on day 5.

Company: The Northcross Group
Drupal Version: Drupal 7.x
Trainer/s: netw3rker

Intermediate Drupal 8 for Drupalistas

Are you a site builder, themer, or backend developer who is comfortable with Drupal 7 (or 6) and worried about gearing up for Drupal 8? Want a headstart? This course will save you self-study time by walking you through D8 in a day. You'll build a site, getting a hands on experience of the anticipated Drupal 8 changes, and dive deeper into your own speciality.

Company: Amazee Labs
Drupal Version: Drupal 8.x
Trainer/s: dianadupuis, Schnitzel, dasrecht

Introduction to Symfony2: Getting Ready for D8

This comprehensive introduction to Symfony2 will help experienced and new PHP developers understand the power and flexibility of Drupal 8's new development framework. With hands on exercises throughout the day-long training, participants will learn basic Symfony2 concepts, build simple applications, and explore how Symfony2 is used in Drupal 8.

Company: Blink Reaction
Drupal Version: Drupal 8.x
Trainer/s: rgs, jmolivas

Professional Agile Project Management For Drupal Projects

Recent high-profile IT project failures have shown that traditional project management isn’t working, with regularly missed deadlines, budget overruns, and a failure to deliver what users actually need.

Company: Wunderkraut
Drupal Version: N/A
Trainer/s: steveparks, wesku, demeester_roel, fuber

Search API with Apache Solr

Heard good things about Search API but haven’t had time to set it up? Have experience with ApacheSolr module but rely on hosted Solr? Wish you could develop locally on your own local Solr instance? Want a tour of all the power and possibilities Search API can provide for your sites?

Company: Zivtech
Drupal Version: Drupal 7.x
Trainer/s: Jody Lynn, tizzo

Advanced An Effective Development Workflow in Drupal 8

It’s been a long time since Features made news. Most Drupal developers are now familiar with a development workflow based on Features, and possibly Profiles and Makefiles (a “code-driven workflow”, as we call it). But Drupal 8 is coming, and it will be revolutionary. How will you be able to be as effective in Drupal 8 as you are now in Drupal 7?

Company: Nuvole
Drupal Version: Drupal 8.x
Trainer/s: pescetti, antoniodemarco, bircher

Design, Prototype, and Style in Browser

Responsive Web Design is on everyone's mind at the moment, and for good reason. With more mobile device activations per day than human births and full internet browsers coming to television sets and gaming consoles (both home and portable), the old techniques we have used to create pixel perfect sites for desktop audiences have already become a thing of the past.

Company: Four Kitchens
Drupal Version: N/A
Trainer/s: iamcarrico, rupl

Introduction to Headless Drupal

Do you want to manage content in Drupal but use something else to deliver it to your users? This is the class for you.

Company: Four Kitchens
Drupal Version: Drupal 7.x
Trainer/s: drpal, mirzu

Class sizes are limited and these trainings will sell out, so don't wait to register!

New this year

If you're not sure what training you want to attend, or are buying on behalf of multiple people in your organization, we now offer prepaid training tickets, which work just like DrupalCon prepaid tickets. Simply purchase a prepaid training and we'll send you a coupon code which your team can use to register for the training of their choice for free when it's convenient for them. No more wrangling staff before summer holiday!

Register for Training or Buy Training Tickets

Categories: Elsewhere

Junichi Uekawa: Having fun with lisp.

Planet Debian - Wed, 09/07/2014 - 02:18
Having fun with lisp. I was writing lisp interpreter in C++ using boost::spirit. I am happy that my eval can do lambda. Took me a long time to figure out what was wrong with the different types. The data structure was recursive, and I needed to make a recursive type. make_recursive_variant works but it's not obvious when it doesn't.

Categories: Elsewhere

Gizra.com: Headless Drupal, One form at a time

Planet Drupal - Tue, 08/07/2014 - 23:00
  • Form API is great, but Form API is hard when you try to do fancier stuff - like wizards and other things that clients often want.
  • Angular forms are great, but Angular forms are hard too - you need to write your own custom endpoints and server side validation.

But now that RESTful integrates with Entity Validator, I would change the equation and simply say something rarely heard in the Drupal community: Forms are Fun!

This form is not Form API, it's angular!

Go ahead, try it yourself on simplyTest.me

Continue reading…

Categories: Elsewhere

Drupal Association News: A Great Reason to Join the Drupal Association: One Month of Free Training!

Planet Drupal - Tue, 08/07/2014 - 22:01

We’ve joined forces with several Drupal training companies to convince you that there is no better time to join the Drupal Association. And if you are already a member, here is a great reason to encourage your Drupal friends to join: free training!

This July 24th, look for announcements on:

Twitter @DrupalAssoc

IRC channels #drupal-association, #drupal, and #drupal-watercooler.

Sign up as one of the first 25 members to join after each announcement and you will receive a coupon for free online training from one of the participating companies. We’ve ensured all the trainers will provide you with training whether you are a novice or advanced learner. You will be supporting Drupal Association programs as a new member and you will learn new skills. Mark you calendar for July 24th.

Thanks to BuildAModule, Drupalize.Me, lynda.com, ModulesUnraveled, and OSTraining for generously providing training for this event.

Personal blog tags: Membership
Categories: Elsewhere

Blink Reaction: Drupal Coding Standards

Planet Drupal - Tue, 08/07/2014 - 20:27

When it comes to Drupal coding standards rules were NOT made to be broken. In this article Matt Korostoff explains the value of coding standards, specifically in Drupal.

Categories: Elsewhere


Subscribe to jfhovinne aggregator - Elsewhere