Search This Blog

Monday, 16 December 2013

Thesaurus resources

http://words.bighugelabs.com/api/2/apikey/word/

.. will bring up this sort of response:

http://words.bighugelabs.com/api/2/apikey/happy/

adjective|syn|felicitous
adjective|syn|glad
adjective|syn|well-chosen
adjective|ant|unhappy
adjective|rel|felicitous
adjective|rel|glad
adjective|rel|cheerful
adjective|rel|content
adjective|rel|contented
adjective|rel|elated
adjective|rel|euphoric
adjective|rel|joyful
adjective|rel|joyous
adjective|sim|felicitous
adjective|sim|blessed
adjective|sim|blissful
adjective|sim|bright
adjective|sim|fortunate
adjective|sim|golden
adjective|sim|halcyon
adjective|sim|laughing
adjective|sim|prosperous
adjective|sim|riant
adjective|sim|willing

Tuesday, 22 October 2013

Recover from Ubuntu UPDATE Failure

Fixing a fucked Ubuntu system after a failed upgrade

BACKGROUND
I was upgrading to a new release of Ubuntu and switched the computer off half way through.  I thought I'd fixed it, but the next time I turned it on the installation never completed the boot process, failing to connect to screen or input devices properly.  I guess the symptoms may vary, but the solution may be pretty standard.

SOLUTION

  1. Make a bootable USB iso, and boot from it.
  2. Attach wired network connection
  3. Press CTRL-ALT-F1
  4. sudo fdisk -l /dev/sda and find your Linux partition - let's say it's /dev/sda5
  5. mount /dev/sda5 /mnt
  6.  
  7. # mount the special filesystems:
  8. mount -o bind /proc /mnt/proc
  9. mount -o bind /dev /mnt/dev
  10. mount -o bind /sys /mnt/sys
  11. mount -o bind /dev/pts /mnt/dev/pts
  12. cp /mnt/etc/resolv.conf /mnt/etc/resolv.conf-original
  13. cp /etc/resolv.conf /mnt/etc/resolv.conf
  14. apt-get update
  15. apt-get dist-upgrade


Points to note.

  1. If ifconfig complains about missing /dev/net ... you haven't done (10) 
  2. If copying the resolv.conf didn't work (name resolution is failing), exit from chroot, make sure the network is working with that wired connection, and copy the resolv.conf across again

Thursday, 30 May 2013

Low hanging Robotic Fruit

Following the principles of the 'Lean Start-up' - what are the minimum viable products we could offer?

A.  SERVICES
  1. Aerial Photography using drones.  Like these guys
    1. For estate agents selling homes
    2. For land registry?
    3. For agricultural monitoring?
    4. Sub-contracting for local authority?
    5. Have a go at flying a drone
      1. Pilot's lessons
      2. Fun days
  2. Mobile water quality monitoring, either surface or sub-surface
  3. Underwater inspection, wreck visits, etc?
B.  PRODUCTS
  1. Selling drones, subs, and boats.
  2. Software which enables these things to operate.
  3. Hardware, ditto.

But note that
  •  'The person in charge of a small unmanned aircraft must maintain direct, unaided visual contact with the aircraft sufficient to monitor its flight path in relation to other aircraft, persons, vehicles, vessels and structures for the purpose of avoiding collisions' 
  • The person in charge of a small unmanned aircraft must not fly the aircraft for the purposes of aerial work except in accordance with a permission granted by the CAA.
  •  The person in charge of a small unmanned surveillance aircraft must not fly the aircraft in any of the circumstances described in paragraph (2) except in accordance with a permission issued by the CAA.
    (2) The circumstances referred to in paragraph (1) are—
    (a)over or within 150 metres of any congested area;
    (b)over or within 150 metres of an organised open-air assembly of more than 1,000 persons;
    (c)within 50 metres of any vessel, vehicle or structure which is not under the control of the person in charge of the aircraft; or
    (d)subject to paragraphs (3) and (4), within 50 metres of any person.
The CAA 722 document is here and leads us to the following, in Section 3;

For an unmanned aerial vehicle used for commercial purposes, and under 20 kg, the operator is required to have a BNUC-S (Level 1) licence.

Part 1 (2 day school + exam) 700 + VAT
Part 2 (flight exam) 350 + VAT

(Phone call to EuroUSC, 30.5.2013)

Also, Operators who intend to conduct aerial work using SUA are required to apply for a permission from the CAA in accordance with ANO 2009 Article 166.  (see above).

Vehicles of less than 20kg weight are not required to be registered.

Hmm... there's a lot of detail here.  We could have a go at this but we'll need to read the CAA docs carefully so we understand the limitations on where we can fly.






Friday, 21 December 2012

Foxconn - the future of Chinese Labour is mass unemployment


Foxconn employs lots of people

Foxconn has 13 factories in nine Chinese cities—more than in any other country.[20]
Foxconn's largest factory worldwide is in Longhua, Shenzhen, where hundreds of thousands of workers (varying counts include 230,000,[19] 300,000,[21] and 450,000[22]) are employed at the Longhua Science & Technology Park, a walled campus[6] sometimes referred to as "Foxconn City"[23] or "iPod City".[24] Covering about 1.16 square miles (3 square km),[25] it includes 15 factories,[23] worker dormitories, a swimming pool,[26] a fire brigade,[6] its own television network (Foxconn TV),[6] and a city centre with a grocery store, bank, restaurants, bookstore, and hospital.[6] While some workers live in surrounding towns and villages, others live and work inside the complex;[27] a quarter of the employees live in the dormitories, and many of them work up to 12 hours a day for 6 days each week.[19] Another of Foxconn's factory "cities" is Zhengzhou Technology Park in Zhengzhou, Henan province, where it is reported 120,000 employees work.

But they're not happy

(October 7, 2012) Foxconn, the Taiwanese contract manufacturer that makes products for Apple, has been hit by a second bout of labour unrest in less than two weeks as one of its largest factories in China is hurrying to churn out the latest iPhone.
More than 200 quality control employees at the plant in Zhengzhou, a central Chinese city, refused to work on Friday in protest over their high-pressure work conditions, the company said on Sunday.

Foxconn, the world’s largest contract manufacturer by revenue, said large numbers of production-line workers had resisted strict quality requirements introduced in connection with production of the iPhone 5. Some quality control staff told the FT that they had been threatened by workers. Some workers said one quality controller had been beaten, but that could not be confirmed.
The Zhengzhou plant is one of two Foxconn factories in the country that makes the iPhone 5. Foxconn has not officially commented on the size of its workforce there, but human resources officials at the plant said it now employs close to 200,000 workers.
“The incident was triggered by an emotional standoff between quality control personnel and production-line workers,” said Foxconn. “After we addressed the issues, people on the [Friday] day shift resumed work, and there was basically no impact on the production lines.”
Since orders for Apple’s latest gadget started coming earlier this year, Foxconn has battled chronic labour shortages in manning its huge production lines in China.
The ramp-up of the Zhengzhou plant since 2010 is part of Foxconn’s gradual shift of its manufacturing operation to China’s inland provinces, a strategy which the company hoped could address rising labour costs and labour shortages. But some of the new plants, have met the same problems as the company’s largest factory in Shenzhen, the export hub next to Hong Kong.
This comes as labour unrest is generally on the rise in China, with young workers less willing to sacrifice their personal lives for meagre savings, and more aware of their rights.
The Zhengzhou dispute follows a riot at Foxconn’s plant in Taiyuan in late September. More than 2,000 workers in that factory – which makes iPhone components – smashed shop windows, overturned cars and burnt a police post following a brawl between workers and security guards.

So let's replace them with robots

Foxconn, the world’s largest contract electronics manufacturer by revenue, plans to have as many robots as workers in its China factories within three years, according to Terry Gou, chairman and chief executive.
Foxconn, China’s biggest employer, produce Apple’s iPad and other electronic gadgets. The group currently employs 1m workers but has just 10,000 robots on its production lines.

Mr Gou outlined the company’s ambitious automation plans at a Foxconn gathering late last week in Shenzhen, a coastal manufacturing centre in southern China. According to people who attended the function, the chief executive said the group would have up to 300,000 robots next year and 1m by 2013, highlighting the drastic changes China-based manufacturers are making as competition for labour increases.

Friday, 21 September 2012

Oriental Hunter's Chicken

Heat a little oil and fry a coarsely chopped onion
Add a couple of chopped carrots
Lubricate with a glass of red wine once it starts to stick and the onion is softening, and boil off the alcohol
Add;

a few cloves
a couple of black cardomoms
a star anise
a good scoop of ground cumin
some chilli powder
a couple of broken blades of mace

...

and some chopped chicken thigh that has been rubbed with corn flour

As the mix starts to stick, add a good cup of water, and a glug of dark soy

A teaspoon of garlic oil pickle
A teaspoon of drinking chocolate made up to a paste with a little water
A handful of raw cashews

Simmer gently until carrots are tender.


Yum Yum Yum.

Friday, 14 September 2012

Robotics and the End of Labour.

Thesis;  The luddite fallacy is not fallacious if the speed at which a process can be automated >= speed at which displaced workers can move areas or skills.

If a robot is equal in power and ability to a human... what will be the socioeconomic consequences?

Areas to investigate.

1.  Economic impact of slavery - 17th C. Europe, but this isn't a direct comparison, the slaves were not replacing workers they were expanding a whole new industry.  On the other hand, one could look at times when a sudden flood of money destabilised an economy.  What about the impact of silver on the workers of Spain in C16 C17?

2.  Economic model of automation

3.  Studies of flexibility of workforce in moving skills / geographic area in response to challenges.  Perhaps case study on Yorkshire mining industry?  Are there any figures that quantify the rate at which a community can respond to the removal of its primary source of employment?

4.  The concept of value in economics.  Where does value come from, how does the Marxist concept of value added through transformation by labour fit an automation model?

5.  The end game of Capitalism.  If you have Capital, you can have robots.  You win.  All others are unemployed.  What does this mean for the meaning of money?

Implications, and recommendations.

Thursday, 30 August 2012

My new chicken marinade

Hang onto your socks; this will blow them off!   Better still, attach a spool of fishing wire to each sock so that, after they've been blown off, you can find them again.

Finely grate an onion and collect all the paste and juice in a dish
Add a splat of sweet chili sauce
And a splat of dark soy sauce
A sprinkle of chicken powder or salt
A good dose of spices (I used a premixed Sambal powder)
A little bit of vegetable oil to make sure the chicken grills, not burns.

Marinade your chicken pieces in the mix

Grill your chicken pieces...

Accept the adulation.

__________________________________________________________________________

Better still...

finely chop half a scotch bonnet and pound with garlic and salt in a mortar
add some hot banana sauce
a grated onion and its juice
some oil
a little corn flour mixed with a teaspoon of water
a glug of dark soy
a sprinkle of chicken powder
a little honey

This makes a hot, sticky meat with an intense savour