Feed aggregator

KnackForge: How to update Drupal 8 core?

Drupal Planet -

How to update Drupal 8 core?

Let's see how to update your Drupal site between 8.x.x minor and patch versions. For example, from 8.1.2 to 8.1.3, or from 8.3.5 to 8.4.0. I hope this will help you.

  • If you are upgrading to Drupal version x.y.z

           x -> is known as the major version number

           y -> is known as the minor version number

           z -> is known as the patch version number.

Sat, 03/24/2018 - 10:31

Flocon de toile | Freelance Drupal: Apply a VAT rate on a product with Drupal Commerce 2

Drupal Planet -

Drupal Commerce 2 now allows you to manage the various taxes and VAT to apply to an online store, regardless of its country and their respective rules in this area. Most of the contributed modules managing these elements on Commerce 1.x are therefore no longer necessary. Let's find out how to use the Drupal Commerce 2.x Resolver concept to set the VAT rate to apply to different products.

The Silicon Valley Paradox: One In Four People Are At Risk of Hunger

Slashdot -

Zorro shares a report from The Guardian: One in four people in Silicon Valley are at risk of hunger, researchers at the Second Harvest food bank have found. Using hundreds of community interviews and data modeling, a new study suggests that 26.8% of the population -- almost 720,000 people -- qualify as "food insecure" based on risk factors such as missing meals, relying on food banks or food stamps, borrowing money for food, or neglecting bills and rent in order to buy groceries. Nearly a quarter are families with children. "We call it the Silicon Valley paradox," says Steve Brennan, the food bank's marketing director. "As the economy gets better we seem to be serving more people." Since the recession, Second Harvest has seen demand spike by 46%. The bank is at the center of the Silicon Valley boom -- both literally and figuratively. It sits just half a mile from Cisco's headquarters and counts Facebook's Sheryl Sandberg among its major donors. But the need it serves is exacerbated by this industry's wealth; as high-paying tech firms move in, the cost of living rises for everyone else. The scale of the problem becomes apparent on a visit to Second Harvest, the only food bank serving Silicon Valley and one of the largest in the country. In any given month it provides meals for 257,000 people -- 66m pounds of food last year. Because poverty is often shrouded in shame, their clients' situations can come as a surprise. "Often we think of somebody visibly hungry, the traditional homeless person," Brennan said. "But this study is putting light on the non-traditional homeless: people living in their car or a garage, working people who have to choose between rent and food, people without access to a kitchen."

Read more of this story at Slashdot.

Trump Signs Law Forcing Drone Users To Register With Government

Slashdot -

President Trump signed a sweeping defense policy bill into law on Tuesday that will allow the government to require recreational drone users to register their model aircraft. This comes after a federal court ruled in May that Americans no longer have to register non-commercial drones with the Federal Aviation Administration (FAA) "because Congress had said in a previous law that the FAA can't regulate model aircraft," reports The Hill. From the report: In December 2015, the FAA issued an interim rule requiring drone hobbyists to register their recreational aircraft with the agency. The rule -- which had not been formally finalized -- requires model aircraft owners to provide their name, email address and physical address; pay a $5 registration fee; and display a unique drone ID number at all times. Those who fail to comply could face civil and criminal penalties. While Congress directed the FAA to safely integrate drones into the national airspace in a 2012 aviation law, lawmakers also included a special exemption to prevent model aircraft from being regulated. A D.C.-based appeals court cited the 2012 law in its ruling striking down the FAA drone registry, arguing that recreational drones count as model aircraft and that the registry counts as a rule or regulation.

Read more of this story at Slashdot.

Instagram Will Now Let You Follow Hashtags In Your Main Feed

Slashdot -

"Up until now, there were two ways to interact with a hashtag," reports The Verge. "You could click through a hashtag on a post, or you could search for a specific tag in the Explore section of the app." Today, Instagram is adding a new way to interact with a hashtag: the ability to follow hashtags so you can see top posts and Stories about a topic on your home page. From the report: You can now "follow" a hashtag the same way you would follow an account. Instagram's algorithms will then pick and choose some of the highlights from that collection and surface them in your main feed. It's a fundamental change to one of the largest social media platforms in the world, elevating your interest in adorable dogs or expensive automobiles to equal status with your friends and family. By contrast, the posts injected into my main feed based on the hashtags I chose to follow (#modernart, #bjj, #ancient) felt carefully curated. There is a lot of variety, even within those categories, but you can train the algorithm on what you do and don't like. Engage with the post by leaving a heart or a comment, and Instagram will assume you want more. Click the menu button on the top right of the post, and you can downvote the offending image by asking Instagram not to show you similar content for that hashtag again. After a few days of this, the art in my feed, both martial and modern, felt fine-tuned to my taste.

Read more of this story at Slashdot.

[$] Process tagging with ptags

LWN Headlines -

For various reasons related to accounting and security, there is recurring interest in having the kernel identify the container that holds any given process. Attempts to implement that functionality tend to run into the same roadblock, though: the kernel has no concept of what a "container" is, and there is seemingly little desire to change that state of affairs. A solution to this problem may exist in the form of a neglected patch called "ptags", which enables the attachment of arbitrary tags to processes.

Trump Signs Into Law US Government Ban on Kaspersky Lab Software

Slashdot -

President Donald Trump signed into law on Tuesday legislation that bans the use of Kaspersky Lab within the U.S. government, capping a months-long effort to purge the Moscow-based antivirus firm from federal agencies amid concerns it was vulnerable to Kremlin influence. From a report: The ban, included as part of a broader defense policy spending bill that Trump signed, reinforces a directive issued by the Trump administration in September that civilian agencies remove Kaspersky Lab software within 90 days. The law applies to both civilian and military networks. "The case against Kaspersky is well-documented and deeply concerning. This law is long overdue," said Democratic Senator Jeanne Shaheen, who led calls in Congress to scrub the software from government computers. She added that the company's software represented a "grave risk" to U.S. national security.

Read more of this story at Slashdot.

Twitter Officially Launches 'Threads,' a New Feature For Easily Posting Tweetstorms

Slashdot -

New submitter FatdogHaiku writes: For those people that must use multiple tweets to rant (or educate) on Twitter, a feature called "Threads" is being rolled out to aid in creating "tweetstorms" (i.e. gang tweets). Given how tweetstorms are normally used, how about we call them twitphoons? TechCrunch explains just how easy to use the new threads feature is: "There's now a new plus ('+') button in the composer screen where you can type out your series of tweets. Each line represents one tweet, with a character limit of 280 as per usual. You can also add the same amount of media -- like GIFs, images, videos, and more -- to any individual tweet in the thread, as you could on Twitter directly. When you're finished with one tweet, you just tap in the space below to continue your thread. While writing out your tweetstorm, you can go back and edit the tweets at any time as they're still in draft format. When you're ready to post, you tap the 'Tweet all' button at the top to send the stream to Twitter. (Twitter will pace the tweets' posting a bit so they don't all hit at once.)" "In addition, another handy feature allows you to go back and update a thread by adding new tweets after it already posted," adds TechCrunch. "To do so, you'll write out the new tweet after tapping the 'Add another Tweet' button. This lets you continue to update a thread forever -- something Twitter CEO Jack Dorsey already does with his own threads, for example. Twitter tells us there's currently a limit of 25 entries in a thread, but that number may be subject to change depending on how the feature is adopted by the wider user base."

Read more of this story at Slashdot.

Jacob Rockowitz: Who is creating add-ons to the Webform module?

Drupal Planet -

As the Webform module progresses towards a stable release and developers are getting familiar with Drupal 8, some developers are starting to contribute some very cool add-ons to the Webform module’s ecosystem.

Drupal is about collaboratively creating robust, stable, and extendable APIs that developers can use to improve and customize Drupal's functionality. Drupal's core Form API (FAPI) is the backbone of the Webform module for Drupal 8. The Webform module would not exist without FAPI, so here is a shout out to all the past maintainers of Drupal FAPI and its current maintainers, Alex Bronstein (effulgentsia) and Tim Plunkett (tim.plunkett).

Because the Webform module Drupal 8 is an entirely new code base, the entire Webform related project ecosystem must be rebuilt from scratch. I see this as a challenge and an opportunity to rethink the functionality that the core Webform module provides and how it is extended.

I strongly feel that the Webform module must be a complete form building solution, which inspires the Drupal community to do what it does best, extend the heck out of powerful APIs

To encourage people to extend the Webform module I decided to track contributed modules within the Webform UI and on Drupal.org in a section that I am calling "Add-Ons."

Laurent is making it possible to analyze webform submissions

Laurent BARAN (lbaran)

Analysis and charts are one of the few features that were available in Webform...Read More

Former Uber Employees Have Gone Into Debt To Hang Onto Shares They Can't Sell

Slashdot -

An anonymous reader quotes a report from Quartz: Uber employees are lining up to sell their stock to Japanese technology giant SoftBank, which will buy up to 17% of outstanding shares for $33 each. The price represents a 30% discount to Uber's last valuation, of nearly $70 billion, but for current and former employees, the SoftBank tender offer is a rare chance to convert paper wealth into actual cash. To qualify for the tender offer, participants must have at least 10,000 Uber shares and be "accredited investors," an SEC designation (pdf) for wealthy individuals. Current Uber employees can't sell more than half of their stake; there are no restrictions on former employees. The deal is on the table until Dec. 28, and could fall through if there aren't enough shares on offer for SoftBank and a small consortium of other investors to purchase at least a 14% stake in the company. Working at a successful startup is often viewed as a quick path to prosperity, but the reality is more complicated. Startups tend to offer equity packages, typically in the form of stock options, to compensate for below-market salaries. But as companies like Uber have stayed private longer, most employees haven't been able to get rich from those shares. Quite the opposite, some former Uber employees have gone into debt to hang onto shares they still can't sell.

Read more of this story at Slashdot.

[$] Federation in social networks

LWN Headlines -

Social networking is often approached by the free-software community with a certain amount of suspicion—rightly so, since commercial social networks almost always generate revenue by exploiting user data in one way or another. While attempts at a free-software approach to social networking have so far not met widespread success, the new ActivityPub federation protocol and its implementation in the free-software microblogging system Mastodon are gaining popularity and already show some of the advantages of a community-driven approach.

Searchable Database of 1.4 Billion Stolen Credentials Found On Dark Web

Slashdot -

YVRGeek shares a report from IT World Canada: A security vendor has discovered a huge list of easily searchable stolen credentials in cleartext on the dark web, which it fears could lead to a new wave of cyber attacks. Julio Casal, co-founder of identity threat intelligence provider 4iQ, which has offices in California and Spain, said in a Dec. 8 blog his firm found the database of 1.4 billion username and password pairs while scanning the dark web for stolen, leaked or lost data. He said the company has verified at least a group of credentials are legitimate. What is alarming is the file is what he calls "an aggregated, interactive database that allows for fast (one second response) searches and new breach imports." For example, searching for "admin," "administrator" and "root" returned 226,631 passwords of admin users in a few seconds. As a result, the database can help attackers automate account hijacking or account takeover. The dump file was 41GB in size and was found on December 5th in an underground community forum. The total amount of credentials is 1,400,553,869.

Read more of this story at Slashdot.

Drupal.org blog: What's new on Drupal.org - November 2017

Drupal Planet -

Read our Roadmap to understand how this work falls into priorities set by the Drupal Association with direction and collaboration from the Board and community.

Announcements Clarifications to Drupal licensing policy

There have been some long-standing questions about Drupal project licensing policy. In collaboration with the Licensing Working Group and Dries, we have updated the official licensing policy with the following clarifications and changes:

  • We explicitly affirm that code with a GPL-compatible license can be included in a Drupal.org hosted project, but will be redistributed under our standard "GPL2 or later" policy.
  • We clarify that GPL-incompatible non-code assets may be packaged and/or distributed "in aggregate" with GPL code in Drupal.org projects, per the final stipulation of Sec 3-2 of the GPL, so long as the maintainer has the rights to do so.
  • We clarify that Drupal.org hosted projects can depend on and/or link to GPL-incompatible code (via composer, for example), but that Drupal.org cannot host or distribute those GPL-incompatible dependencies.
  • We explicitly affirm our interpretation of the GPL that a Drupal service provider's act of assembling a codebase while under contract to a client does not fall under the more restrictive terms of 'distribution' per the GPL.

You can find more detail about these changes in the Repository Usage Policy and Licensing FAQ.

Welcoming new staff members

We want to welcome two new members to the Drupal Association team. Brooke Candelaria who will be taking over as Conference Director, joins us from Houston, TX. Brooke has a background in PR and event management, and has worked with other open source communities in the past, for example working on LinuxWorld and, most recently, with the Python community. Brooke's focus will be on evolving DrupalCon to meet the needs of every persona within our community, and helping to make the Con more sustainable and scalable.

Rachel Lawson is taking on the role of Community Liaison. Based in the UK, Rachel has been a tremendous member of the community in her own right, participating in Camps, helping to organize Mentored Sprints, and serving on the Community Working Group. Rachel will be helping the community to understand the role and the functioning of the Drupal Association, while also keeping the Drupal Association more closely tied to all parts of our diverse community. We hope you'll welcome them!

DrupalCon Updates Launched new DrupalCon brand

We've just launched a new unified look and feel for DrupalCon, that will carry into all of our events moving forward. This will help give DrupalCon a stronger identity among OSS events, and also give us a place to put centralized content that applies to DrupalCon as a whole, rather than just a singular event.

Launched DrupalCon Nashville site

Alongside our new brand, we've launched the DrupalCon Nashville website, the first of the events to use the new unified look and feel. Registration is open now, as well as the call for papers. Take a look at some of the new tracks! \

We'll see you there!

Sponsorship makes DrupalCon possible - learn why you should be a part of it.

Drupal.org Updates Reminder: New issue shortcuts and friendly url structure

Last month we announced that we would be implementing some changes to the issue url structure, as well as some shortcuts to help users navigate to issues more easily on Drupal.org. These changes went live in November. Here's a primer:

URL Pattern for issues:

https://drupal.org/project/drupal/issues/2922626 When an issue is moved between projects the alias will be updated.

Shortcuts

The search bar will now automatically redirect you to a node if you enter its id directly: A new menu callback will help you get to issues with a shorter url string: https://drupal.org/i/

New individual member directory

We've been overhauling the Drupal Association membership experience, and as part of that process we now have a new directory of Drupal Association members. This new directory also includes new filters and sorting options so that you can see the latest community members to join the Association and filter by country, username, or first and last name.

In development: new organization member directory

We're working on a new directory of organization members as well. The current directory allows you to filter by organization type, and we will be adding a filter for Association membership as well. If you have feedback on this directory, please let us know!

———

As always, we’d like to say thanks to all the volunteers who work with us, and to the Drupal Association Supporters, who make it possible for us to work on these projects. In particular we want to thank:

If you would like to support our work as an individual or an organization, consider becoming a member of the Drupal Association. Follow us on Twitter for regular updates: @drupal_org, @drupal_infra

SEC Shuts Down Munchee ICO

Slashdot -

The Securities and Exchange Commission has shut down Munchee, a company that built a $15 million token sale. According to TechCrunch, "The Munchee ICO aimed to fund the MUN coin, a payment system for restaurant reviews." However, the company "received a cease and desist from the SEC on December 11" because it constituted the offer and sale of unregistered securities. From the report: Within the SECs findings they noted that Munchee touted itself as a "utility" token which means that the company believed the MUN token would be primarily used within the Munchee ecosystem and not be used to fund operations. However, thanks to an application of the Howey Test (a Supreme Court finding that essentially states that any instrument with the expectation of return is an investment vehicle), the SEC found the Munchee was actually releasing a security masquerading as a utility. "Munchee offered MUN tokens in order to raise capital to build a profitable enterprise," read the SEC notice. "Munchee said that it would use the offering proceeds to run its business, including hiring people to develop its product, promoting the Munchee App, and ensuring 'the smooth operation of the MUN token ecosystem.'" The stickiest part? Munchee claimed that its coins would increase in value thanks to a convoluted process of growth. In short, Munchee was undone by two things: depending on the token sale as a vehicle to raise cash for operations and using the typically spammy and scammy marketing efforts most ICO floggers use now, tactics taken directly from affiliate marketing handbooks. Fortunately, Munchee was able to return all $15 million to the 40 investors that dumped their coins into scheme.

Read more of this story at Slashdot.

Ajit Pai Offers No Data For Latest Claim That Net Neutrality Hurt Small ISPs

Slashdot -

An anonymous reader quotes a report from Ars Technica: With days to go before his repeal of net neutrality rules, FCC Chairman Ajit Pai issued a press release about five small ISPs that he says were harmed by the rules. Pai "held a series of telephone calls with small Internet service providers across the country -- from Oklahoma to Ohio, from Montana to Minnesota," his press release said. On these calls, "one constant theme I heard was how Title II had slowed investment," Pai said. But Pai's announcement offered no data to support this assertion. So advocacy group Free Press looked at the FCC's broadband deployment data for these companies and found that four of them had expanded into new territory. The fifth didn't expand into new areas but it did start offering gigabit Internet service. These expansions happened after the FCC imposed its Title II net neutrality rules. (Title II is the statute that the FCC uses to enforce net neutrality rules and regulate common carriers.)

Read more of this story at Slashdot.

Tech Support Scammers Invade Spotify Forums To Rank in Search Engines

Slashdot -

Tech support scammers have been aggressively posting on Spotify forums to inject their phone numbers in a bid to vastly improve their odds of showing up on Google and Bing search results, a new report claims. And that bet seems to be working. From the report: They do this by submitting a constant stream of spam posts to the Spotify forums, whose pages tend to rank well in Google. While this behavior causes the Spotify forums to become harder to use for those who have valid questions, the bigger problem is that it allows tech support scammers to rank extremely well and trick unknowing callers into purchasing unnecessary services and software. BleepingComputer was alerted to this problem by security researcher Cody Johnston who started to see an alarming amount of tech support scam phone numbers being listed in Google search results through indexed Spotify forum posts. The tech support scams being posted to Spotify include Tinder, Linksys, AOL, Turbotax, Coinbase, Amazon, Apple, Microsoft, Norton, McAfee and more.

Read more of this story at Slashdot.

Freelock : A slick migration trick - convert columns to multi-value field with subfields

Drupal Planet -

In the previous post on A custom quantity price discount for Drupal Commerce we created a compound field for price breaks, which was composed by two subfields. One for a quantity threshold, the other for the price at that threshold.

That post covered everything needed to get quantity discounts working within Drupal Commerce, but for this particular project, we also had to find a way to populate these price breaks through the integration with their Sage accounting system.

Drupal 8Drupal MigrationDrupal PlanetIntegrationERP

Nintendo Switch Sales Hit 10 Million Units, Could Outdo the Wii

Slashdot -

Nintendo's big bet on a hybrid portable and home game system is paying off, with 10 million Nintendo Switch units sold in nine months. From a report: Nintendo of America President Reggie Fils-Aime told Variety that the Switch could even top first-year sales of the Wii, the company's best-selling console yet -- if momentum holds up through the holidays. Strong sales will be important for Nintendo as it tries to convince game publishers to invest in the platform, whose less powerful hardware can't always handle the same games as Microsoft's Xbox and Sony's PlayStation consoles.

Read more of this story at Slashdot.

Paris Summit Finds New Money, Tech To Fight Climate Change

Slashdot -

An anonymous reader shares an Associated Press report: World leaders, investment funds and energy magnates promised Tuesday to devote new money and technology to slow global warming at a summit in Paris that President Emmanuel Macron hopes will rev up the Paris climate accord that U.S. President Donald Trump has rejected. Trump wasn't invited to the event but his name was everywhere. One by one, top world diplomats, former California governor Arnold Schwarzenegger, business leaders like Michael Bloomberg and even former U.S. Secretary of State John Kerry insisted that the world will shift to cleaner fuels and reduce emissions regardless of whether the Trump administration pitches in or not. Central to Tuesday's summit was countering Trump's main argument that the 2015 Paris accord on reducing global emissions would hurt U.S. business. Macron, a 39-year-old former investment banker, argues that the big businesses and successful economies of the future will be making and using renewable energy instead of pumping oil. Macron's office announced a dozen international projects emerging from the summit that will inject hundreds of millions of dollars in efforts to curb climate change. "The United States did not drop out of the Paris agreement. Donald Trump got Donald Trump out of the Paris agreement," Schwarzenegger said. The projects also aim to speed up the end of the combustion engine to reduce the emissions that contribute to global warming. With that aim, World Bank President Jim Yong Kim announced that his agency would stop financing oil and gas projects in two years, except in special circumstances for very poor nations.

Read more of this story at Slashdot.

Pages

Subscribe to Heydon Consulting aggregator