Feed aggregator

How to Fix ERR_TOO_MANY_REDIRECTS on Your WordPress Site

LXer - Thu, 05/03/2018 - 10:44
ERR_TOO_MANY_REDIRECTS is one of the most common error in WordPress. This error can usually happen as a result of server misconfiguration, incorrect WordPress settings or some plugins with redirection functionality. This makes your websites to go into an endless redirection loop. In this tutorial, we will show you how to fix the ERR_TOO_MANY_REDIRECTS error that you may encounter while working on WordPress CMS site.

The steaks have never been higher: Swiss Lidl is selling local cannabis

TheRegister - Thu, 05/03/2018 - 10:28
Cheech and Chong wouldn't bother, though

Budget supermarket chain Lidl, best known for giving shoppers greater bhang for their buck, is offering a more... high-end product.…

High-Optane thrills for 3D XPoint wanna-haves: Intel fattens gaming SSDs

TheRegister - Thu, 05/03/2018 - 09:54
Bigger and slightly faster, but not yet ready for mainstream

Intel has tuned its Optane gaming drives with the 905P upgrade on the 900P, broadly doubling capacity and slightly boosting topline performance.…

Exploring application portability across clouds using Kubernetes

LXer - Thu, 05/03/2018 - 09:47
In a world rapidly moving to the cloud, investors, customers, and developers are watching the "cloud wars" with bated breath. As cloud giants rise and the backbone of a new kind of infrastructure is forged before our eyes, it is critical for those of us on the ground to stay agile to maintain our technical and economic edge. (This article was co-written with Lindsey Tulloch. )

Apple somehow plucks iPad sales out from 13-quarter death spiral

TheRegister - Thu, 05/03/2018 - 09:20
Off the mortuary Fondleslab

Few people remarked on it this week, but Apple has reversed the declining fortunes of the iPad, achieving modest growth for the fourth successive quarter in a market that continues to slide.…

The Akademy 2018 program is now available

LXer - Thu, 05/03/2018 - 08:51
Akademy 2018 organisers have published the program for the conference part of the event. This year the event will be held in Vienna, and talks will take place on the 11th and 12th of August.

45-day drone flights? You are like a little baby. How about a full YEAR?

TheRegister - Thu, 05/03/2018 - 08:43
BAE-backed Brit upstart makes eye-catching UAV claim

Defence kit megalith BAE Systems is working on a drone that "has the potential to fly for up to a year before needing maintenance", in a challenge to Airbus' Zephyr being trialled by the Ministry of Defence.…

Master Amazon Web Services: Get on top of reliability with our best practices webinar

TheRegister - Thu, 05/03/2018 - 08:04
Learn about the AWS Well-Architected Framework

Promo Here's a fact we cannot doubt: Amazon Web Services (AWS) has spent years working with thousands of companies across all industries to create the most comprehensive collection of best-practices and guidance known as the Well-Architected Framework.…

Facebook Open-Sources Its PyTorch AI Framework, Kitty Malware Targets Drupal, GCC 8.1 Released and More

Linux Journal - Thu, 05/03/2018 - 08:02

News briefs for May 3, 2018.

Facebook has open-sourced its PyTorch 1.0 AI framework. Facebook was using the framework in-house for its machine learning projects, but now it is free for developers to use as well. According to the story on ZDNet, "PyTorch 1.0 integrates PyTorch's research-oriented aspects with the modular, production-focused capabilities of Caffe2, a popular deep learning framework and ONNX (Open Neural Network Exchange), an open format to represent deep learning models."

Kitty malware is targeting Drupal to mine for cryptocurrency. ZDNet reports that "The vulnerability allows threat actors to employ various attack vectors to compromise Drupal websites. Scanning, backdoor implementation, and cryptocurrency mining are all possible, as well as a data theft and account hijacking." And even worse, "the malware is also commanded to infect other web resources with a mining script dubbed me0w.js", which attacks any future visitors of the web site as well.

The Steam Controller team announced yesterday that the latest Steam Client beta supports the Nintendo Switch Pro Controller. The announcement adds that "the d-pad is ideal for fighting games and platformers and the gyro enhances aim in your action/FPS titles."

GCC 8.1 was released yesterday. This is a major release and contains "substantial new functionality not available in GCC 7.x or previous GCC releases". See this page for a summary of the "huge number of improvements", including improvements to inter-procedural, profile-driven and link-time optimizations.

The results are in for openSUSE's board election: Gertjan Lettink (Knurpht), Simon Lees and Ana Maria Martinez will serve a two-year term. Congrats to the winners!

News Facebook AI open source Drupal Security Cryptomining gaming GCC openSUSE

How to build container images with Buildah

LXer - Thu, 05/03/2018 - 07:54
The efforts of Project Atomic in the area of Open Container Initiative (OCI) has given a great tool called Buildah. Buildah helps with  creating, building and updating container images supporting Docker formatted images as well as OCI compliant images. Buildah handles building container images without the need to have a full container runtime or daemon....

Using Docker and Windows Server Containers? There's a patch for that

TheRegister - Thu, 05/03/2018 - 07:52
Remote code execution vuln found lurking in Microsoft's open-sourced shim

Microsoft has emitted a patch to fix a critical vulnerability in a wrapper used to launch Windows Server Containers from Go.…

Another quarter, another record-breaking Tesla loss: Let's take a question from YouTube, eh, Mr Musk?

TheRegister - Thu, 05/03/2018 - 07:23
Costs mount, SpaceX boss cuts off analysts' questions

Tesla CEO Elon Musk flamed Wall St analysts last night that dared to question his firm's finances, after his leccy car biz reported another set of record quarterly losses, burning through more of the cash pile.…

How to Install Tomcat 9 on Debian 9

LXer - Thu, 05/03/2018 - 06:57
Installing Tomcat 9 on Debian 9 is fairly easy task, just carefully follow our tutorial bellow and you should have Tomcat 9 installed on your Debian 9 server in less then 10 minutes. Tomcat is an open source web server and servlet container developed by the Apache Software Foundation, it was previously known as Tomcat or Jakarta Tomcat.

Review: the Librem 13v2

Linux Journal - Thu, 05/03/2018 - 06:00
by Shawn Powers

The Librem 13—"the first 13-inch ultraportable designed to protect your digital life"—ticks all the boxes, but is it as good in real life as it is on paper?

I don't think we're supposed to call portable computers "laptops" anymore. There's something about them getting too hot to use safely on your lap, so now they're officially called "notebooks" instead. I must be a thrill-seeker though, because I'm writing this review with the Librem 13v2 directly on my lap. I'm wearing pants, but apart from that, I'm risking it all for the collective. The first thing I noticed about the Librem 13? The company refers to it as a laptop. Way to be brave, Purism!

Why the Librem?

I have always been a fan of companies who sell laptops (er, notebooks) pre-installed with Linux, and I've been considering buying a Purism laptop for years. When our very own Kyle Rankin started working for the company, I figured a company smart enough to hire Kyle deserved my business, so I ordered the Librem 13 (Figure 1). And when I ordered it, I discovered I could pay with Bitcoin, which made me even happier!

Figure 1. The 13" Librem 13v2 is the perfect size for taking on the road (photo from Purism)

There are other reasons to choose Purism computers too. The company is extremely focused on privacy, and it goes so far as to have hardware switches that turn off the webcam and WiFi/Bluetooth radios. And because they're designed for open-source operating systems, there's no "Windows" key; instead there's a meta key with a big white rectangle on it, which is called the Purism Key (Figure 2). On top of all those things, the computer itself is rumored to be extremely well built, with all the bells and whistles usually available only on high-end top-tier brands.

Figure 2. No Windows key here! This beats a sticker-covered Windows logo any day (photo from Purism).

My Test Unit

Normally when I review a product, I get whatever standard model the company sends around to reviewers. Since this was going to be my actual daily driver, I ordered what I wanted on it. That meant the following:

  • i7-6500U processor, which was standard and not upgradable, and doesn't need to be!
  • 16GB DDR4 RAM (default is 4GB).
  • 500GB M.2 NVMe (default is 120GB SATA SSD).
  • Intel HD 520 graphics (standard, not upgradable).
  • 1080p matte IPS display.
  • 720p 1-megapixel webcam.
  • Elantech multitouch trackpad.
  • Backlit keyboard.

The ports and connectors on the laptops are plentiful and well laid out. Figure 3 shows an "all sides" image from the Purism website. There are ample USB ports, full-size HDMI, and the power connector is on the side, which is my preference on laptops. In this configuration, the laptop cost slightly more than $2000.

Figure 3. There are lots of ports, but not in awkward places (photo from Purism).

The Physical Stuff and Things

The Case

The shell of the Librem 13 is anodized aluminum with a black matte texture. The screen's exterior is perfectly plain, without any logos or markings. It might seem like that would feel generic or overly bland, but it's surprisingly elegant. Plus, if you're the sort of person who likes to put stickers on the lid, the Librem 13 is a blank canvas. The underside is nearly as spartan with the company name and little else. It has a sturdy hinge, and it doesn't feel "cheap" in any way. It's hard not to compare an aluminum case to a MacBook, so I'll say the Librem 13 feels less "chunky" but almost as solid.

The Screen

Once open, the screen has a matte finish, which is easy to see and doesn't have the annoying reflection so prevalent on laptops that have a glossy finish. I'm sure there's a benefit to a glossy screen, but whatever it might be, the annoying glare nullifies the benefit for me. The Librem 13's screen is bright, has a sufficient 1080p resolution, and it's pleasant to stare at for hours. A few years back, I'd be frustrated with the limitation of a 1080p (1920x1080) resolution, but as my eyes get older, I actually prefer this pixel density on a laptop. With a higher-res screen, it's hard to read the letters without jacking up the font size, eliminating the benefit of the extra pixels!

The Keyboard

I'm a writer. I'm not quite as old-school as Kyle Rankin with his mechanical PS/2 keyboard, but I am very picky when it comes to what sort of keys are on my laptop. Back in the days of netbooks, I thought a 93%-sized keyboard would be perfectly acceptable for lengthy writing. I was horribly wrong. I didn't realize a person could get cramps in their hands, but after an hour of typing, I could barely pick my nose much less type at speed.

The Librem 13's keyboard is awesome. I won't say it's the best keyboard I've ever used, but as far as laptops go, it's right near the top of the pile. Like most (good) laptops, the Librem 13 has Chicklet style keys, but the subtleties of click pressure, key travel, springiness factor and the like are very adequate. The Librem 13v2 has a new feature, in that the keys are backlit (Figure 4). Like most geeks, I'm a touch typist, but in a dark room, it's still incredibly nice to have the backlight. Honestly, I'm not sure why I appreciate the backlight so much, but I've tried both on and off, and I really hate when the keyboard is completely dark. That might just be a personal preference, but having the choice means everyone is happy.

Figure 4. I don't notice the keyboard after hours of typing, which is what you want in a keyboard (photo from Purism).

The Trackpad

The Librem 13 has a huge (Figure 5), glorious trackpad. Since Apple is known for having quality hardware, it's only natural to compare the Librem 13 to the Macbook Pro (again). For more than a decade, Apple has dominated the trackpad scene. Using a combination of incredible hardware and silky smooth software, the Apple trackpad has been the gold standard. Even if you hate Apple, it's impossible to deny its trackpads have been better than any other—until recently. The Librem 13v2 has a trackpad that is 100% as nice as MacBook trackpads. It is large, supports "click anywhere" and has multipoint support with gestures. What does all that mean? The things that have made Apple King of Trackpad Land are available not only on another company's hardware, but also with Linux. My favorite combination is two-finger scrolling with two-finger clicking for "right-click". The trackpad is solid, stable and just works. I'd buy the Librem 13 for the trackpad alone, but that's just a throwaway feature on the website.

Figure 5. This trackpad is incredible. It's worth buying the laptop for this feature alone (photo from Purism).

The Power Adapter

It might seem like a silly thing to point out, but the Librem 13 uses a standard 19-volt power adapter with a 5.5mm/2.5mm barrel connector. Why is that significant? Because I accidentally threw my power supply away with the box, and I was worried I'd have to special-order a new one. Thankfully, the dozen or so power supplies I have in my office from netbooks, NUCs and so on fit the Librem 13 perfectly. Although I don't recommend throwing your power supply away, it's nice to know replacements are easy to find online and probably in the back of your tech junk drawer.

Hardware Switches

I'm not as security-minded as perhaps I should be. I'm definitely not as security-minded as many Linux Journal readers. I like that the Librem 13 has physical switches that disconnect the webcam and WiFi/Bluetooth. For many of my peers, the hardware switches are the single biggest selling point. There's not much to say other than that they work. They physically switch right to left as opposed to a toggle, and it's clear when the physical connection to the devices have been turned off (Figure 6). With the Librem 13, there's no need for electrical tape over the webcam. Plus, using your computer while at DEFCON isn't like wearing a meat belt at the dog pound. Until nanobots become mainstream, it's hard to beat the privacy of a physical switch.

Figure 6. It's not possible to accidentally turn these switches on or off, which is awesome (photo from Purism).

I worried a bit about how the operating systems would handle hardware being physically disconnected. I thought perhaps you'd need special drivers or custom software to handle the disconnect/reconnect. I'm happy to report all the distributions I've tried have handled the process flawlessly. Some give a pop-up about devices being connected, and some quietly handle it. There aren't any reboots required, however, which was a concern I had.


I don't usually watch videos on my laptop, but like most people, I will show others around me funny YouTube videos. The audio on the Librem 13 is sufficiently loud and clear. The video subsystem (I mention more about that later) plays video just fine, even full screen. There is also an HDMI port that works like an HDMI connection should. Modern Linux distributions are really good at handling external displays, but every time I plug in a projector and it just works, my heart sings!


The Librem 13 comes with Purism's "PureOS" installed out of the box. The OS is Debian-based, which I'm most comfortable using. PureOS uses its own repository, hosted and maintained by Purism. One of the main reasons PureOS exists is so that Purism can make sure there is no closed-source code or proprietary drivers installed on its computers. Although the distro includes tons of packages, the really impressive thing is how well the laptop works without any proprietary code. The "purity" of the distribution is comforting, but the standout feature is how well Purism chose the hardware. Anyone who has used Linux laptops knows there's usually a compromise regarding proprietary drivers and wrappers in order to take full advantage of the system. Not so with the Librem 13 and PureOS. Everything works, and works well.

PureOS works well, but the most impressive aspect of it is what it does while it's working. The pre-installed hard drive walks you through encryption on the first boot. The Firefox-based browser (called "Purebrowser") uses HTTPS: Everywhere, defaults to DuckDuckGo as the search engine, and if that's not sufficient for your privacy needs, it includes the Tor browser as well. The biggest highlight for me was that since Purebrowser is based on Firefox, the browsing experience wasn't lacking. It didn't "feel" like I was running a specialized browser to protect my identity, which makes doing actual work a lot easier.

Other Distributions

Although I appreciate PureOS, I also wanted to try other options. Not only was I curious, but honestly, I'm stuck in my ways, and I prefer Ubuntu MATE as my desktop interface. The good news is that although I'm not certain the drivers are completely open source, I am sure that Ubuntu installs and works very well. There are a few glitches, but nothing serious and nothing specific to Ubuntu (more on those later).

I tried a handful of other distributions, and they all worked equally well. That makes sense, since the hardware is 100% Linux-compatible. There was an issue with most distributions, which isn't the fault of the Librem 13. Since my system has the M.2 NVMe as opposed to a SATA SSD, most installers have a difficult time determining where to install the bootloader. Frustratingly, several versions of the Ubuntu installer don't let the manual selection of the correct partition to be chosen either. The workaround seems to be setting up hard drive partitions manually, which allows the bootloader partition to be selected. (For the record, it's /dev/nvme0n1.) Again, this isn't Purism's fault; rather, it's the Linux community getting up to speed with NVMe drives and EFI boot systems.


There are a few oddities with a freshly installed Librem 13. Most of the quirks are ironed out if you use the default PureOS, but it's worth knowing about the issues in case you ever switch.

NVMe Thing

As I mentioned, the bootloader problem with an NVMe system is frustrating enough that it's worth noting again in this list. It's not impossible to deal with, but it can be annoying.

Backslash Key

The strangest quirk with the Librem 13 is the backslash key. It doesn't map to backslash. On every installation of Linux, when you try to type backslash, you get the "less than" symbol. Thankfully, fixing things like keyboard scancodes is simple in Linux, but it's so strange. I have no idea how the non-standard scancode slipped through QA, but nonetheless, it's something you'll need to deal with. There's a detailed thread on the Purism forum that makes fixing the problem simple and permanent.

Trackpad Stuff

As I mentioned before, the trackpad on the Librem 13 is the nicest I've ever used on a non-Apple laptop. The oddities come with various distributions and their trackpad configuration software. If your distribution doesn't support the gestures and/or multipoint settings you expect, rest assured that the trackpad supports every feature you are likely to desire. If you can't find the configuration in your distro's setup utility, you might need to dig deeper.

The Experience and Summary

The Librem 13 is the fastest laptop I've ever used. Period. The system boots up from a cold start faster than most laptops wake from sleep. Seriously, it's insanely fast. I ran multiple VMs without any significant slowdowns, and I was able to run multiple video-intensive applications without thinking "laptops are so slow" or anything like that.

The only struggle I had was when I tried to use the laptop for live streaming to Facebook using OBS (Open Broadcast Studio). The live transcoding really taxed the CPU. It was able to keep up, but normally on high-end computers, it's easier to offload the transcoding to a discrete video card. Unfortunately, there aren't any non-Intel video systems that work well without proprietary drivers. That means even though the laptop is as high-end as they get, the video system works well, but it can't compare to a system with a discrete NVIDIA video card.

Don't let the live streaming situation sour your view of the Librem 13 though. I had to try really hard to come up with something that the Librem 13 didn't chew through like the desktop replacement it is. And even with my live streaming situation, I was able to transcode the video using the absurdly fast i7 CPU. This computer is lightning fast, and it's easily the best laptop I've ever owned. More than anything, I'm glad this is a system I purchased and not a "review copy", so I don't have to send it back!

Reviews Hardware Laptops Security Privacy Purism Librem 13

Texas residents start naming adopted drains

TheRegister - Thu, 05/03/2018 - 05:49
Waterway to have a good time

The good folk of Houston, Texas have started naming their adopted drains, as part of a community project seeking sponsorship of the city's water discharge system.…

Whoa, Gartner drops a truth bomb: Blockchain is overhyped and top IT bods don't want it

TheRegister - Thu, 05/03/2018 - 05:18
Didn't you know it's panacea to all corporate woes, bro?!

Blockchain is overhyped, CIOs aren't using it and many don't plan to either, according to the latest research from Gartner.…

LG's flagship arrives with <checks script> ... G7 what now?

TheRegister - Thu, 05/03/2018 - 04:24
G7ThinQ. You don't make it easy to get an audiophile treat, LG

It's a sign of the times that of the big four UK operators, only O2 will stock LG's flagship, which launches this week: the "G7 ThinQ".…

El Reg's Serverless Computing London call for papers shuts tonight

TheRegister - Thu, 05/03/2018 - 04:15
FaaS? Lambda? Functions? Tell us all about it

The call for papers for Serverless Computing Conference London shuts tonight, so you need to act FaaSt if you want to share your experiences with us.…

Hawaii To Ban Certain Sunscreens To Protect Coral Reefs

Slashdot - Thu, 05/03/2018 - 04:00
Hawaii lawmakers passed a bill Tuesday that would prohibit the sale of over-the-counter sunscreens containing chemicals they say are contributing to the destruction of the state's coral reefs and other ocean life. NPR reports: The chemicals oxybenzone and octinoxate, which are used in more than 3,500 of the world's most popular sunscreen products, including Hawaiian Tropic, Coppertone and Banana Boat, would be prohibited. Prescription sunscreens containing those chemicals would still be permitted. As NPR reported, a 2015 study of coral reefs in Hawaii, the U.S. Virgin Islands and Israel determined oxybenzone "leaches the coral of its nutrients and bleaches it white. It can also disrupt the development of fish and other wildlife." Even a small drop is enough to damage delicate corals. At the time, researchers estimated about 14,000 tons of sunscreen lotions end up in coral reefs around the world each year. Opposition to the ban came from sunscreen manufacturers, including Bayer, the maker of Coppertone. And the state's major doctors group said the ban goes too far. The Honolulu Star-Advertiser wrote: "Bayer said there are limited, active ingredients available within the U.S. with the same proven effectiveness as oxybenzone for sunscreens over SPF 50. The Hawaii Medical Association said it wanted the issue to be studied more deeply because there was a lack of peer-reviewed evidence suggesting sunscreen is a cause of coral bleaching, and overwhelming evidence that not wearing sunscreen increases cancer rates."

Read more of this story at Slashdot.

Ubuntu 18.04, Ubuntu Flavours, GIMP 2.10, FFmpeg 4.0, neofetch, Clonezilla | This Week in Linux 27

LXer - Thu, 05/03/2018 - 03:43
on this episode of TWinL: Ubuntu 18.04, Ubuntu Flavours, GIMP 2.10, FFmpeg 4.0, neofetch, Clonezilla, Trisquel, Wireshark, MenuLibre, Gnucash, Ubuntu Touch, Netflix Open Sourcing Titus, and more!
Syndicate content