Lol @ disabled toilets misconception

I realised something recently. The handle bars and paraphernalia in disabled toilets are more likely to have originated from another need. It was through a mixture of a bit of embarrassment, and changing PC tides that the needs of the constipated and the inverse were (rightly) subverted for the needs of those with disabilities.

That’s right! The different handle bars in disabled toilets were originally designed to help when your regulars are not suitably regular.

How to buy safely on eBay – read this before buying anything!!


Note: The below is for my personal use. If you get conned it’s because you still weren’t careful enough. Times change, wars develop. Tricks change. This article will be out of date in no time. So, anyway here’s the article!

Buying online can be perilous. If you get conned, the seller disappears into oblivion; you can’t send your boys round to beat the crap out if them like the good old days. But here’s what you can do:

This is the definitive guide to buying safely and reliably on eBay. BOOKMARK THIS PAGE!

On the listing, at the top right, there’s the seller name (with a link to their profile), and a feedback number next to it. That is the total feedbacks over the life of the account. Under 100 and they’re almost definitely a private seller; certainly not a proven online seller. Over 2000 and it’s probably a business. In between is the gray area. Buying from a business seller is safer, since you can look in detail at their feedbacks to get a good idea of their quality. And they have a reputation to uphold to keep selling. The percentage next to it should be at least 99%. Any less and you need a good reason to buy from them – eg if you’re buying a very small ticket item. But beware: this percentage is only on transactions (bought and sold) over the last 12 months. Ie no guarantee  they’re a good seller. (Since 100% could be a bad seller). It only tells you if they’re a bad seller. (90% is a lousy seller).

Next, click on that feedback quantity. You need to check that the feedbacks are for items they sold, not bought. Do this by (after clicking on the user’s feedback number), click the tab “feedback as seller”. This lists all feedbacks ever given, for items they’ve sold.

At the top of that list, check the number of feedbacks as seller. If it’s less than 10-20 items, especially. If they’re low value items, it’s not a safe bet.

Now, you want to see what they’ve gotten bad feedback for. Even the best of sellers can have occasional bad feedback. But you must investigate…

Above the tabs, there’s a  3×3 table with rows being positive, neutral and negative feedback, and columns being 1 month, 3 months and 12.

If they’ve had any negative feedback over the last 12 months, that number will be linked; click on it. This will show you:

  • The item that was sold that received negative feedback
  • The amount the item was sold for
  • The comment the buyer left
  • Possibly the seller’s response.

Look for high value items. The comments the buyers leave tell you everything. Watch out particularly for comments like these:

  • Item not received
  • Item not as described
  • Seller not responding to messages
  • Etc

Another point: only buy using PayPal. If the listing does not say it can be purchased with PayPal, forget it. This gives you essential protection.

Last but not least, look at the following THOROUGHLY:

  •  Listing title
  • Listing description
  • Listing pictures
  • Item condition (at the top of the listing, either “new”, “seller refurbished” , “used”, (with description of condition eg “like new”) or “spares or repairs”
  • “Item specifics” – above the description there’s a small boxed section giving bullet points eg screen size for a phone.

MAKE SURE THEY ALL MATCH. The more discrepancies there are, the greater the chance of a dispute going in the seller’s favour. Similarly, watch out for what is NOT said. If you’re buying a stereo, make sure it comes with speakers. If you’re buying a digital thermometer, make sure it comes with the probe.

It sounds like a nightmare,  but consider how things were before the Internet.  Buying used goods was a total bloody gamble. But now, with the above tools, the buyer has all the power!! Remember:

  •  Money buys everything but good sense

Finally, if you have been conned, or let down, contact the seller to arrange a refund. They have to pay the return postage if the listing was inaccurate. If they refuse, open a “dispute”. If an agreement is not reached, “escalate” it, eBay will step in. They might only do so if PayPal was used. But you only have 30 (or is it 90) days to start a dispute, and 7 days to escalate. Opt for returning g the item, rather than getting a replacement, since this can be a delay tactic so your dispute runs out of time and you lose.

Lol @ Dangerous machining

We all know the hazards of DIY. Anyone who’s ever done any sanding knows that a lot of that stuff ends up in your nose. It collects. It really bulks up those bogeys.

But machining metals is another ball game. Metal shards up the nose is one thing for a start.

But in machine shops, you’d be told not to allow the chaff to build up anywhere. You’d be told to keep the floor, work surfaces and machines free of build-ups. This is important when dealing with aluminium and steel. But there’s something they never tell you:

Iron Oxide + Aluminium + Bogeys —–> Thermite bogeys

You have been warned.


Grenfell: Hillsborough v2.0

One thing is worse than tragedy: an avoidable tragedy. Worse still: a cover-up.

What a mess our United Kingdom is in.

Public confidence at an all time low with voters chose their lesser evil. Few believe austerity has been a success. The NHS is at its knees.

And now Grenfell happens. Few believe the death toll being reported. Assumptions rise, remnants of trust crumble.

So many questions. And therein lies the problem. Any catastrophy has more than one cause. How could we let so many accumulate for this to happen? How many more are on the horizon with our infrastructure apparently so critically weak?

Does Grenfell symbolise the UK in its current state? We can’t let it. But that doesn’t warrant a cover-up.


How to understand something backwards: teach!

The process of learning something involves starting with simplest topics and building on them.

When teaching, the process is reversed. You aim to have taught the student up to some advanced topic. But to get to that point, you have to know what the prerequisites are.

But it’s more thoroughly backwards than that implies. In some certificate, such as a mathematics undergraduate degree, each module has prerequisite modules. But so do the smallest of progressions of knowledge. To know how to add three numbers together, you must first know how to add two.

While that seems obvious and insignificant at improving one’s own understanding, consider how many times you have been asked a question about a topic you understand advanced concepts – but have been unable to explain simple questions, like “But why?”

“But why”. You have failed to explain the reasoning – the prerequisites to a conclusion. You have forgotten all about the “why”, because you have for a long time only practiced the “how”, and progressively expanded upon it.

So by teaching,  you are re-learning the “why”. You are literally learning it backwards – for the first time!

So to learn something backwards, teach. Reminding ourselves of the “why” opens doorways to new understandings. It gives us greater confidence, greater certainty, greater agility of mind.

However, we could simply always ask ourselves “why” – and sometimes that’s wise to do – so why teach? Students have the advantage on the mentor. They know when the “why” is an assumption, a prerequisite, unintuitive, or perhaps just wrong.

Trolls are breaking the Stack Exchange system: part 1

If a question is popular and gets a lot of attention, but is on a slightly off-kilter topic, what will happen? Enough users will look at it, misinterpret it and vote to close it. It just takes 5 users over any length of time. But then to get it re-opened, it’s near impossible. It takes 5 users over a short time. Yes, there’s a time limit, but only for reopening. And of course, once a question’s closed, views plummet because the SE system makes it so. So that question is then dead. A valuable question which brings a challenging concept [to some] … is permanently dead.

And what if you delete and start again? You get penalised. You can even get banned. What happens if you ask it a second time? It gets marked as a duplicate.

This is just one way  in which the SE system is broken. And it is trolls that are breaking it.

Rant over. For now.



Turn RaspberryPi-UA-NetInst into a NodeJS server

Rather than reduce Raspbian by uninstalling packages and hacking down services run at boot-up to give a minimal system that runs NodeJS, I thought I’d try starting with a minimal system using RaspberryPi-UA-NetInst and just adding what’s needed.

That link gives an excellent tutorial on getting started. But before you install it, there are tweaks to be made before installing it that will get a lot of stuff set up on installing, rather than afterwards. This is a great bonus because if you ever have to reinstall, you don’t have to reconfigure the system each time. Simply format the SD card, place your modified installer files on the card, put it in the RPi and boot up, cross fingers and it’ll all be installed in under 30 minutes. And it can all be done over WiFi without touching a network cable!

So simple! Just follow Method#1 in this previous tutorial of mine, but replace the contents of with the following:

You might want to tweak the installer to create a user besides root, it seems to be a preferred way of doing things! But I’ll leave that to you. From here you can test out your new NodeJS server, check out this NodeJS tutorial.

This can be taken a few steps further still though! What if you want your entire NodeJS Pi server set up un an unattended fashion, right up to downloading your NodeJS source code from GitHub and running the server? And configuring systemd so it starts up automatically every time? No problem! Tutorial coming soon! 😉


NodeJS web server bits and pieces

Disadvantages of NodeJs:

Avoid asynchronous hell with Node Fibers:

Web framework for NodeJs:

GPIO access with NodeJs:

Customise Raspbian-Ua-NetInst – beyond post-install.txt

Want a bare-bones Raspbian distribution? Start with this one:

  • Raspbian-Ua-NetInst (Smaller installer)
  • RaspberryPi-Ua-NetInst (Firstly, it installs over wifi and gives faster boot time – 10 seconds! but mainly it lets you “Bring your own” files, which we’ll need for method 1 below.)

But what if you want to make a custom installer which comes with more? With either of the above, there are two ways you can do this:

  1. Add package names to installer-configure.txt as per the instructions on those links. Easy!
  2. Add scripts to post-install.txt  to manipulate what’s been installed.

The problem is the former does not give scope for configuration, and the latter is somewhat of a black art. For example, in post-install.txt you cannot simply include commands like this:

Instead you need to do this:

And if you want to manipulate files that will appear on the final installation, God help you. I have had mixed success with this. YMMV!

This brings me to the greatest resource for moving forward:

There are three options it hints at:

  1. Add a script which executes on first login using /root/.bashrc. ,using systemd to log in automatically on first boot to run it.
  2. Use  post-install.txt to install your own custom repository.
  3. Cron: set up a cronjob to run a script on boot-up
  4. Use chef or similar, like this guy did

I will explore them in that order as I find the time, but in the meantime here’s my personal favourite below; in my opinion, the easiest:

Method 1:

This assumes that you’ll be using the Pi’s UART via a USB-serial console, rather than using SSH to log in.

First, get a copy of the raspbian-ua-netinst installer, and follow the instructions, all from here: RaspberryPi-Ua-NetInst.

Everything we need to do will involve adding and changing files they provide that will be going onto your SD card before you put it in your Pi.

They way this method works is first we will configure the installer by making a configuration file in the root of the SD card called installer-config.txt . Put the following in it to make output go to the UART:

Once the installer has done most of the installing, we will tack on a few things for it to do by adding a file at the root of the SD card called post-install.txt . It will run these commands before the installer after it’s done the installing, but before it reboots.

The final feature of the installer that we will use, is it allows us to bundle any files we want onto the SD card, and tell it where it should place them on the final system. We do this by placing them in /config/files/ , and listing them in /config/my-files.txt  as per the instructions.

Putting it all together, we will use these features of the installer to firstly make the system automatically log in once the installer reboots, then to have the system run a script we’ll make once it’s logged in.

We will adapt this tutorial which shows how to make the Pi log in automatically when boot up after installation, using systemd, which we will configure to do so simply by adding a file we’ll call  serial-getty@ttyAMA0.service  into two places within /config/files .

Secondly, when the system is installed and boots and automatically logs-in for the first time, we’ll get the system to run our commands by putting a little something into the .bashrc file in root’s home directory. Here’s how:

In the installer files that you copy on to the SD card, edit /config/my-files.list  and add these lines:

Create this directory structure:

Make two files, both called  serial-getty@ttyAMA0.service , in the following locations:

With the following in each:

Then make a file called  in this location:

With the following contents:

Make another file in /config/files/root,  add.bashrc , with the following:

And make yet another file at /config/files/root called post-install.txt  and put this in it:

And that’s it! Now you have what you need to easily set up your system post-installation without any attention required – it will do the entire thing without any input, just insert the SD card, power-up and wait 20 minutes! Just put your post-installation commands in  .

Lol @ linux

Why is Linux so hard? You have to do a lot of rooting around.

(Sorry… worst joke yet)