Follow Slashdot stories on Twitter


Forgot your password?
Get HideMyAss! VPN, PC Mag's Top 10 VPNs of 2016 for 55% off for a Limited Time ×

Comment Re:Pi lasts over 13 hours for me on battery... (Score 1) 59

And yet three seriously weak points of the Pi 2, namely the 1GB RAM (I'd far rather have 2GB RAM than "faster" 1GB RAM, especially with a 64-bit CPU), 100 Mbit/sec Ethernet (ruling out the Pi as a fast fileserver - can't believe Gigabit costs much more) and the pitiful USB (2 - In this day and age ) weren't upgraded at all. If they fix these three, I'll be first in line for the Pi 4.

Comment Pi lasts over 13 hours for me on battery... (Score 1) 59

With a Xiaomi 10000 mAh power bank attached to my Pi 2 Model B running Raspbian desktop (but idle, other than a script writing the uptime to a file every minute), I got 13 hours and 46 minutes before the power ran out. I wonder if the Pi port of Android will support the Pi 2 Model B too? It'll be annoying if it doesn't, because the Pi 3 wasn't a massive upgrade over the Pi 2 Model B.

Comment Write a small utility that works better (Score 1) 255

Why not write a small utility that may do something similar to sometrhing that already exists (let's face it, almost everything has been thought of already!) but does it a better/easier way?

For example, I always hated the syntax of sed (regexp's aren't easy either) and it missed quite a few features I'd like, so I wrote "replace" instead:

I also find "bc", "dc" and "calc" completely unfathomable, so I wrote my own "calc" (without knowing about the other one until well afterwards!) which actually has an expression evaluator based on BASIC (i.e. "obvious"):

Neither utility is large and both were fairly straightorward to write and I use both quite regularly to this day, many years after writing them.

Comment What exactly is proprietary JavaScript? (Score 2) 154

JavaScript is loaded client-side and can be downloaded and viewed as plain text, so it's certainly not closed source. Minified JavaScript is just JS code that's harder to understand due to function/variable substitution and whitespace stripping and again it's not closed source.

I don't know if you can actually buy commercial JavaScript libraries, but if you did, all the source code would be sent to the public every time a page was loaded with the JS loaded from it, so again it isn't closed source, but technically could be proprietary (i.e. it can only be used on authorised sites and anyone putting it on another unauthorised site is breaking the licence terms).

What's the difference, though, between custom HTML/CSS and custom JS in terms of licencing? All of them could be developed in-house and have the same "proprietary" licencing (i.e. can't be copied and used on other sites) - after all it's illegal to clone someone's site and host it elsewhere without permission surely?

I think the FSF have got this one wrong - if there was a way to make JS closed source, then they might have a point, but claiming JS can be "proprietary" just because it's minified or developed in-house (and not usable on other sites - after all, a lot of money could have been spent developing - or purchasing - the JS) is barking up the wrong tree. As long as the JS works cross-platform on the major browsers, I see no issue myself.

Comment Probably US-only, so useless for most people... (Score 1) 67

You do suspect there'll be unskippable ads in this (even 6 second-long ones would be abhorrent on a subscription service). but even worse I suspect it'll be US-only, which would be a huge missed revenue opportunity. Many US people will already have access to the channels on cable, so the real demand for this would surely be non-US viewers?

Comment You still have to pay for much of Amazon's content (Score 1) 105

What riles me about Amazon's Prime Video service is that not only do you have to pay a subscription, but quite often there's a charge for content too, which Netflix doesn't do. A random example - the 15-year-old season 1 of "Six Feet Under" costs 14.99 pounds ($22 or so) from Amazon Prime Video in the UK...and it's only in SD too!

I tried the video service as part of a 30-day free Prime trial and I was deeply, deeply unimpressed with it - not enough free content as I said and a limited content range overall too. Their original content isn't as good as Netflix's either - it simply isn't a service worth purchasing and adds very little to the overall Prime package, IMHO.

Comment Client/server and tape autoloaders? (Score 2) 64

This might be fine where you've got a single Linux machine and, say, backup to an external USB3 hard drive, but what about bigger setups than this? For example, multiple Windows/Linux client machines to backup and a central server with an autoloader/barcoded Ultrium tape drive attached? There's very few open source solutions that deal with this in a heterogeneous environment (Amanda - which is poor with Windows clients - and Bacula - which is ridiculously complex to setup - are just about the only two that spring to mind). Until BorgBackup can do something similar, it's not really useful in a multi-machine/autoloader setup (no, I don't want to install two backup systems on every client...).

Comment Very expensive in UK and hard to find with Pro (Score 3, Informative) 160

The UK price of the $699 tested 256GB SSD model is unbelievably expensive in comparson - it's over 800 pounds ($1200) which is sheer madness and will kill its UK sales. Add the fact that it's very hard to find it with Windows 10 Pro pre-installed (there's another 100 pounds - $150) and this will see near-zero UK business sales.

Comment Except a computer monitor is *much* more expensive (Score 2) 90

Yes, I too would like a monitor-style TV (loads of inputs, *no* built-in tuners or even built-in audio), but you wouldn't suggest an actual computer monitor because the price increases exponentially once you go beyond a 24" monitor.

Dell's 55" computer monitor ("only" 1080p!) is over 1,000 pounds ($1500) in the UK, whereas a 55" 1080p TV can be had for little as 400 pounds ($600).

Comment Re:Adaway is the best adblocker I've ever seen (Score 1) 189

I use Adaway too, but supplement it with Adblock Plus in Firefox to get wider coverage (my assumption here is that some URLs in Adaway aren't in Adblock Plus and vice versa). The only time I look at ads now is usually for a short video to let me be resurrected in a game or get some bonus coins, but even that can be tedious (if you must show me video ads, uniquely cycle through them rather than having the same video ad over and over again and only switching it after about 5 views).

Comment Absolute URLs in the WP DB drive me nuts (Score 1) 39

One of the major pains in the backside of WordPress is its use of absolute URLs for pages on the site thousands of times in the WP database. PHP is always had $_SERVER variables to dynamically find the top level component of your URL (e.g. if you need to (does WP ever need to know it anyway?), yet if you dump the SQL DB, you'll see that URLs are pretty well all absolute rather then relative. This is horrible because:

* HTML generated by WordPress contains absolute URLs all over the place for resources contained within the site, when they clearly should be relative URLs to save bytes if nothing else.
* Any need to change the URL of a WordPress site causes massive pain because you can't just mysqldump/sed/mysql to change the URL because of serislised data. I have to use a special tool for this, which is highly annoying to have to do so (though the tool is nice to use admittedly). Warning: WP-CLI's "wp search-replace" often missses replacing some URLs, so I don't use that any more.

In case you think you'll never change a top-level URL of a WordPress site, think again - it's very common indeed:
* Site goes from national ( to international ( and wants the latter to be the primary address.
* Site needs to be copied from dev -> UAT -> live (and maybe -> DR) or in the reverse direction and all instances have different URLs.
* Site is converted from http to https.

Comment Re:Just-in-time exploits (Score 1) 39

...and sites with Wordfence :-) The latest Wordfence release outrageously renames a core WP file (/readme.html) by default which breaks the official WP API used to verify checksums of core WP files (tools such as WP-CLI use this). I posted up to the Wordfence forum about this and got a useless reply and my thread marked as "resolved" despite nothing being done about the breakage!

I've now had to go around all WP sites with Wordfence installed, manually turning off this renaming of /readme.html (which was turned off by default in older Wordfence releases and very sneakily silently turned on in the latest release).

Comment Re:Upgrade hell (Score 1) 39

WP-CLI is your friend - lets you do all the admin pointy-clicky stuff via the command line instead (cue a cron'ed wrapper script!). Even manually updating WordPress is painless compared to pretty well any other CMS out there. If I mention "Umbraco updates" (yes, I know, it's Windows only) to anyone within earshot, they run away screaming. Umbraco has *no* updating facility at all (manual clicking in admin interface or automated) and it can literally take days to update just one Umbraco site following a horrendous set of complex instructions!

Slashdot Top Deals

Garbage In -- Gospel Out.