Home » Archive by category "Computing" (Page 5)

Mounting Drives in Linux

Byte City

Mounting drives in Linux is a task that sometimes needs to be performed when the auto-mounting mechanism doesn’t apply, and for neophytes can be challenging. The forums are replete with problems about mounting drives, the system not mounting drives upon plugging in the USB or inserting a CD, and permissions confusions.

The following post aims to explain as many parts of the manual process as reasonable, covering the /dev folder, mount and umount commands, fstab, umask and some particularities on filesystems and newly created disks.

The topic is fairly heavy, with many offshoot topics, and I want to keep this post as straight-to-the-task as possible, so a lot of the explanations will urge you to look up info elsewhere if you want more in-depth discussion. Generally, doing a web search on the name in underlined italics will be sufficient. I also use bold text for example snippets that you’ll need to replace, and pink text for text you would type at the command line, with green monospace text reserved for output.

Questions answered

  • How do I mount my USB key in Linux?
  • Why does my USB always mount as root?
  • How do I automatically mount a drive in Linux?
  • Why can’t I write to my USB in Linux?
  • How do I use the mount command?

Read more

About that: why are we still writing programs using text-based languages?


PCPro.co.uk has an article on graphical programming

Programming is a fairly specialist activity, requiring a different manner of thinking to operate in. Some programming languages try to be friendly in terms of words, symbols and grammar used to write the code (syntax) – but it still tends to be an initial hurdle to get past.

An asker on Slashdot had the following question today:

“…why are we still writing text based code? Shouldn’t there be a simpler, more robust way to translate an algorithm into something a computer can understand? One that’s language agnostic and without all the cryptic jargon? It seems we’re still only one layer of abstraction from assembly code. Why have graphical code generators that could seemingly open coding to the masses gone nowhere?”

The /. editor added:

Of interest on this topic, a thoughtful look at some of the ways that visual programming is often talked about.

Here are my thoughts:

For the TL/DR: graphical programming is inefficient, and error prone; better methods of viewing source code during read-back is more interesting.

Read more

Choosing your GNU/Linux Distro

6432837735_0964b7729a_o

Most of the time, the differences between one distro and another aren’t so important – most distros work the same as one another, which we are swift to be reminded of when asking “what’s the best distro for beginners?”

But what about drilling deeper into that question and instead asking, “what are the key differentiating factors between desktop distros?”

Here’s the list of things I consider, when deciding whether to take the time to download and install, or recommend, a distro.

This post aims to answer the questions:

  • What’s the best distro for new Linux users?
  • How do I know what Linux distro is right for me?
  • What are the main differences between Linux distros?
  • What Linux distros are backed by companies?

Read more

About that: Cracking down on sites like Ask.fm

A petition landed in my inbox today: “Shut down cyberbullying website, Ask.fm, in memory of Izzy Dix & 12 other teens globally

This is, alas, another misunderstanding of how websites work, but most importantly how social interactions, in general, work. I’m not saying that anyone is at moral fault in these cases; what I am concerned about is that the petition spreads the idea that any one site should be targeted for crackdown. Politicians can jump at this easily, scapegoat easily, and look like progress is being made. This is shortsighted, and ultimately leads us to rest on laurels until the next, identical, scandal arises.

(TLDR:) In brief, it’s not a crackdown on websites we need, but action on a large scale. We must be in control of the message that society projects to young people, the message must be on every wall a young person will see, and the message must be:

If you are a victim of BULLYING, it is never your fault, and you must always SPEAK UP immediately.

Read more for details. Read more

First look at Manjaro

Currently I’m having a go in a VM at Manjaro, a distribution based on Arch Linux.

There are a few things that make the Arch family particularly awesome, and a few things that make it quite daunting, but it’s really looking promising…. the following notes serve to document what I’ve learnt so far.

I’m using the 0.8.8 install release, 32-bit with Xfce in VirtualBox (the KDE ISO results in a blank/black screen after boot into LiveCD, both driver modes. Mouse visible and still possible to switch to tty terminals. Couldn’t be bothered troubleshooting yet). Read more

Drivers in Linux: ndiswrapper and the demise of Windows XP

With the impending demise of Windows XP (even though it has recently been announced that XP will now continue to receive updates until July 2015), the prime time for migrating casual Windows users to Linux is nigh.

However, one crucial aspect remains: driver support.

Some will be swift to point out that in-kernel driver support has come leaps and bounds lately, and most things just work “out of the box.” Unfortunately, that is not sufficient in the Real World. Read more

Response to: Will 2014 be the “year of the Linux Desktop”?

An open poll for opinions on Linux Voice.com asks whether the tired and still popular question “is 20XX going to be the year of the Linux Dsktop” is still relevant.

My take on it is as below – but in brief (TL;DR) it is no longer relevant technologically, it is relevant and in progress from an industrial point of view, and is is most definitely still relevant when it comes to users at home, with no technical skills. The question beyond that is, do we even want non-techies using Linux? Read more

Resource Forks, large files, and FAT32 – and still no cross-platofrm standard

Here are a few things I learned in a recent experiment in backing up, erasing, and restoring a Mac.

  1. Use HFS to back up from Mac to Mac (to preserve idiosyncratic Mac structures like the ResourceFork)
  2. If you want to allow access to the backup in other operating systems use FAT32 (the only file system which Mac/Win/Linux can all read AND write to)
  3. But you will lose the following:
    1. any file larger than 4 GB (hard limit on FAT32 filesystem)
    2. you will lose anything that relied on the presence of a ResourceFork in the file.

Read more

The Surf

I was reading an article on why DRM has always been a bad idea, with mounting evidence to show it when the following came to mind:

Spread out your arms to stop the waves
From crashing into your lovely little sand castle
And be vanquished by its might

Or swim out into the unknown waters
Tussle with the ever changing unmarked currents
Fight to stay afloat in these tides

And then turn shorewards once more
Rush in with the swell and the implacable force of nature
Ride in on a wave of victory

Voila.

The Best Newbie Distro is You

Whether they love it or loathe it, they'll need to brace for impact.

Whether they love it or loathe it, they’ll need to brace for impact.

Oft asked is the question, “What is the best Linux for beginners?” It is The First Question, the one that hopefully brings one more user away from the wholly proprietary desktop. And oft is the query answered with the name of a distro, straight, with no introduction, discussion or consideration.

A post I came across on LinuxInsider collated a few suggestions, but most pertinently concluded that the actual distribution does not matter quite so much as how much you are willing to help the new user. Dedoimedo guest posted at netrunner-mag.com how he imagined on-boarding an enthusiast would go.

I would like to point out how it is for the fearful – those who are needing to move because XP is running out, or who’ve bought a new PC with (woe!) Windows 8 preinstalled, or that friend for whom you’ve acquired an old laptop in serious need of a rejuvenation… Read more