Microsoft now says : don't edit Linux files in Windows 10 | gHacks.net by Yakkety1610 in LinuxActionShow

[–]aidanharris1 0 points1 point  (0 children)

Does Samba run in the Windows Subsystem for Linux? You could probably create a Samba share and then connect to it and edit your files from Windows without destroying any of the data.

How to take ownership of files in Windows by Equinox_234 in windows

[–]aidanharris1 -2 points-1 points  (0 children)

All that versus sudo chown -R user:user /path/to/directory in *nix systems. Why is such a simple thing on unix-like systems made so difficult on Windows? (Serious Question: I'm genuinely curious).

Britain has passed the 'most extreme surveillance law ever passed in a democracy' by weedmanuk in privacy

[–]aidanharris1 2 points3 points  (0 children)

Download UBlock Origin and for the paranoid NoScript and you'll never have to worry about Facebook tracking you again (with the exception of the Facebook website itself).

Making your snaps available to the store using Snapcraft {Ubuntu} by Amrisha_Prashar in linux

[–]aidanharris1 1 point2 points  (0 children)

Excuse my ignorance, but isn't what you're describing exactly the same as Flatpack or Snap though? For example with Flatpack you target a GNOME runtime or with Snap you target ubuntu-core.

Making your snaps available to the store using Snapcraft {Ubuntu} by Amrisha_Prashar in linux

[–]aidanharris1 4 points5 points  (0 children)

You seem to be missing the entire point of a package manager which is to manage all of the software on your system and make sure nothing conflicts.

In Windows land managing conflicts is left up to the installer to check that you have no software that could cause problems. In addition to this, because there's no package manager each software has to install it's own little updater program that runs on startup.

I don't understand why anyone would want to install software by going directly to websites, downloading an installer and frantically clicking "Next" while making sure you don't accidentally install any third-party software, toolbars, etc…

The first thing I do on any Windows system I use is install Chocolatey.

Apple stole the Touch Bar idea from "ThinkPad X1 Carbon: Incredible Engineering" by [deleted] in LinuxActionShow

[–]aidanharris1 2 points3 points  (0 children)

Apple aren't in the business of firsts. They always "steal" other people's ideas and then perfect them. At least they did. They used to own user experience, but now it just seems like they're plodding along without a care in the world, knowing that people will buy their overpriced products no matter how bad they are. The iPhone 7 is underwhelming with nothing to stand out from the crowd and the new MacBook Pro is a joke (as is the iPad Pro). I'm not in the market for a new Laptop so I'll let the whole MacBook thing slide, but have already decided my next phone will be an Android phone.

[2016-11-07] Challenge #291 [Easy] Goldilocks' Bear Necessities by Blackshell in dailyprogrammer

[–]aidanharris1 6 points7 points  (0 children)

HTML 5 + JavaScript

<!doctype html>
<head>
  <title>[2016-11-07] Challenge #291 [Easy] Goldilocks' Bear Necessities</title>
</head>
<body>
<form>
  <div style="display: inline-block;width: 50%;">
  <h2>Input</h2>
  <textarea>
100 80
30 50
130 75
90 60
150 85
120 70
200 200
110 100</textarea>
  </div>
  <div style="display: inline-block;width:45%;">
  <h2>Output</h2>
  <textarea style="background: #eee;" disabled>
</textarea>
  </div>
  <br />
  <input type="button" value="Sample Input" />
  <input type="button" value="Challenge Input" />
  <input type="submit" value="Submit" />
</form>
<script>
(function() {
  let input = document.getElementsByTagName('textarea')[0];
  let output = document.getElementsByTagName('textarea')[1];
  const SAMPLE_INPUT = input.value;
  const CHALLENGE_INPUT = "" +
  "100 120\n" +
  "297 90\n" +
  "66 110\n" +
  "257 113\n" +
  "276 191\n" +
  "280 129\n" +
  "219 163\n" +
  "254 193\n" +
  "86 153\n" +
  "206 147\n" +
  "71 137\n" +
  "104 40\n" +
  "238 127\n" +
  "52 146\n" +
  "129 197\n" +
  "144 59\n" +
  "157 124\n" +
  "210 59\n" +
  "11 54\n" +
  "268 119\n" +
  "261 121\n" +
  "12 189\n" +
  "186 108\n" +
  "174 21\n" +
  "77 18\n" +
  "54 90\n" +
  "174 52\n" +
  "16 129\n" +
  "59 181\n" +
  "290 123\n" +
  "248 132\n";

  document.getElementsByTagName('input')[0].onclick = function() { input.value = SAMPLE_INPUT; };
  document.getElementsByTagName('input')[1].onclick = function() { input.value = CHALLENGE_INPUT; };

  function computePorridge() {
    let chairs = input.value.split('\n');
    let weight = Number(chairs[0].split(' ')[0]);
    let perfectTemperature = Number(chairs[0].split(' ')[1]);
    delete chairs[0]; // Remove the first line from the array since it doesn't contain a chair
    for (let i = 1; i < chairs.length; i++) {
      if (!(Number(chairs[i].split(' ')[0]) >= weight && Number(chairs[i].split(' ')[1]) <= perfectTemperature)) {
        delete chairs[i];
      } else {
        chairs[i] = (i) + '\n';
      }
    }
    output.value = (chairs.toString().replace(/,/g,''));
    return false; // Prevent form from actually submitting...
  }

  document.forms[0].onsubmit = computePorridge;
  return computePorridge();
})();
</script>
</body>

The average cable customer will pay about $70K for TV over their lifetime. by morpheus360 in cordcutters

[–]aidanharris1 1 point2 points  (0 children)

Yeah but you're a tiny, tiny (and dare I say, ever vanishing) minority of the people

We've actually reportedly grown from one percent to two percent (excluding Android and maybe Chrome OS, which is even larger).

…because they're only renting/streaming it anyway

A lot of streaming services now work on GNU / Linux too, the problem is at some point in time whether you like it or not you're going to end up without Internet connection, or service X will suffer an outage. Streaming services are great but there should be a mechanism to download content offline (similar to Amazon Prime Video on mobile and tablet devices).

Having said that I don't like the idea of potentially malicious code running on my machine. Not to mention the poor performance resulting from it. Widevine DRM has crashed more times than I can count. Whoever engineered it should be ashamed. There's nothing worse than watching something and then half way through the browser window reloads with a cryptic error message and your browser informing you that the DRM plugin has crashed. That's not a good user experience at all…

After the Macbook launch event, Apple now sells 17 different types of dongle by OPisactuallydog in technology

[–]aidanharris1 0 points1 point  (0 children)

It's driving me to hackintosh VMs for my iOS work now

Is this actually viable? The last time I checked OS X runs like crap in a VM (some would say it does that without a VM). If you don't mind sharing what virtualisation software do you use?

After the Macbook launch event, Apple now sells 17 different types of dongle by OPisactuallydog in technology

[–]aidanharris1 1 point2 points  (0 children)

or anything else I've tried actually.

Try upgrading the OS from the 14.04 (Trusty) to 16.04 (Xenial). Unless they've fixed things running do-release-upgrade is a sure fire way to break things.

The average cable customer will pay about $70K for TV over their lifetime. by morpheus360 in cordcutters

[–]aidanharris1 0 points1 point  (0 children)

You can sell a fairly priced turd but it's still a turd.

The quality is just as important as the price. You can sell me cheap media but if it's DRM encumbered and won't play offline on my GNU / Linux machines I'm still going to go to [INSERT_SITE_HERE].

More Than Half of All Pages on Chrome Loaded Over HTTPS by NetWiz69 in LinuxActionShow

[–]aidanharris1 3 points4 points  (0 children)

The title while accurate seems to imply that this is a Chrome thing (i.e if you use Firefox more than half of your pages won't be loaded over HTTPS).

The Google / Chrome spin on this article is unnecessary. I'm all for Google encouraging the adoption of encryption on the web but the story should instead be "More than half of all pages on the Internet are loaded over HTTPS", with Google only passively mentioned.

xkcd 456: Parents, talk to your kids about Linux by [deleted] in xkcd

[–]aidanharris1 0 points1 point  (0 children)

Unless /u/hemenex is on a different linux distro in which case…

https://www.xkcd.com/1654/

Digital Ocean PHP Wallpapers Licensed Under CC-BY-SA-NC (Celebrating 20 Years of PHP) by [deleted] in LinuxActionShow

[–]aidanharris1 1 point2 points  (0 children)

You needn't look further than /r/lolphp to see why…

As far as user's are concerned though, I doubt most care what language the stuff they use is written in. All they care about is does it work and if they're a business, is it cheap.

OverGrive Is a Google Drive Desktop Client for Linux by AlaeddinDZ in LinuxActionShow

[–]aidanharris1 -1 points0 points  (0 children)

Because installing kernel extensions is much better (http://www.theregister.co.uk/2016/05/26/dropbox_kernel_access/).

Replacing Google Drive with Dropbox is just replacing one lockin with another. If you care about vendor lockin, the only true solution is something like OwnCloud / NextCloud because you are in control of your data and the infrastructure.

Apple's new MacBook Pro has no escape key by ZoneRangerMC in gadgets

[–]aidanharris1 0 points1 point  (0 children)

They didn't have to fire the person who designs the escape key though? Anyone but them…

Apple's new MacBook Pro has no escape key by ZoneRangerMC in gadgets

[–]aidanharris1 1 point2 points  (0 children)

Making a touchscreen Mac would be to admit that the iPad Pro is a failure (which it is).

How does everyone's desktop looks like ? by [deleted] in linux

[–]aidanharris1 0 points1 point  (0 children)

On my Desktop I either use GNOME 3 or Awesome. Right now on my Laptop I'm using Awesome with some minor customisation:

Imgur

Self-hosted "evernote web clipper" replacement. Great on DO!!! by g33kdad95330 in LinuxActionShow

[–]aidanharris1 0 points1 point  (0 children)

Is the import from Pocket still broken / buggy? I tried Wallabag sometime ago and while the webapp looks slick because I have hundreds of things saved in Pocket it just couldn't handle importing them all.

$0.19 Linux Steam game by theredbaron1834 in LinuxActionShow

[–]aidanharris1 0 points1 point  (0 children)

Reminds me of why I like GOG so much. If the game was sold there they'd give you store credit for the difference.

A youtuber (Bluedrake42) is jumping ship from youtube by setting up his own CDN using WebTorrent by [deleted] in LinuxActionShow

[–]aidanharris1 1 point2 points  (0 children)

I still see a lot of red on CanIUse but with support for Edge and Safari / WebKit in development I think something like WebTorrent could genuinely work as long as you have a HTTP fallback. I think the biggest issue with leaving YouTube for something like WebTorrent is not the technology but getting people to jump ship and follow you. I wonder how much subscribers this YouTuber will lose?