[Dorset] Links from Last Night's Pub Meet.

2017-08-02 Thread Ralph Corderoy
There was eleven of us last night, so this is just the bits of
conversation I heard.

strace(1) is handy for looking at the system calls a program makes to
the kernel, try `groups' and then `sudo -i strace -tte file groups'.

Facebook's React has spread to Android and iOS.  "React Native lets you
build mobile apps using only JavaScript.  It uses the same design as
React, letting you compose a rich mobile UI from declarative
components." — https://facebook.github.io/react-native/

Python has descriptor classes;  those with __get__(), __set__(), and
others.  These functions get called when an instance of the class is in
another object's class dictionary.
https://docs.python.org/3/reference/datamodel.html#implementing-descriptors

>>> class Desc():
... def __get__(*a):
... print('get:', *a)
...
>>> class Foo():
... a = Desc()
...
>>> f = Foo()
>>> f.a
get: <__main__.Desc object at 0x7f4426523240>
<__main__.Foo object at 0x7f4426523278>

>>>

As well as duck typing, there's a convention in Python called, by some,
goose typing.  Built-ins isinstance() and issubclass() bow to a `check'
function, if it's defined, and that can use reflection to do the test.
https://docs.python.org/3/library/collections.abc.html
https://www.python.org/dev/peps/pep-3119/

>>> from collections import abc
>>> class Iter:
... def __iter__(my):
... raise StopIteration
...
>>> issubclass(Iter, abc.Iterable)
True
>>> isinstance(Iter(), abc.Iterable)
True
>>> abc.Iterable.__instancecheck__
>
>>> abc.Iterable.__instancecheck__(Iter())
True
>>> abc.Iterable.__instancecheck__(list())
True
>>> abc.Iterable.__instancecheck__(dict())
True
>>> abc.Iterable.__instancecheck__(set())
True
>>> abc.Iterable.__instancecheck__(open('/dev/null'))
True
>>> abc.Iterable.__instancecheck__(lambda: None)
False

"Cython is an optimising static compiler for both the Python programming
language and the extended Cython programming language...  The Cython
language is a superset of the Python language that additionally supports
calling C functions and declaring C types on variables and class
attributes.  This allows the compiler to generate very efficient C code
from Cython code.  The C code is generated once" — http://cython.org/

"Coconut is a functional programming language that compiles to Python [2
or 3].  Since all valid Python is valid Coconut, using Coconut will only
extend and enhance what you're already capable of in Python...
range(10) |> map$(pow$(?, 2)) |> list" — http://coconut-lang.org/

Undebt is Python that uses the handy PyParsing library to re-factor a
tree of source code, mapping an old fragment of grammar to new, e.g. `x
= x + 1' to `x += 1' regardless of the complexity of the expression `x'.
It can be used for any language, but comes with Python-grammar
definitions.  A project could build up a set of transformations over
time that are repeatedly run to keep converting to the house style.
https://engineeringblog.yelp.com/2016/08/undebt-how-we-refactored-3-million-lines-of-code.html

gpg(1)'s -c is good for encrypting single files, rather than one of the
"zip" formats.  By default, it compresses the plaintext before
encrypting.

$ dd if=/dev/zero bs=1k count=1k of=zeroes
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.012425 s, 84.4 MB/s
$ gpg -c zeroes
$ du *
1024zeroes
4   zeroes.gpg
$

"memfd_create() creates an anonymous file and returns a file descriptor
that refers to it.  The file behaves like a regular file, and so can be
modified, truncated, memory-mapped, and so on.  However, unlike a
regular file, it lives in RAM and has a volatile backing storage.  ...a
simple alternative to manually mounting a tmpfs(5) filesystem and
creating and opening a file...  ...primary purpose... used with the
file-sealing APIs provided by fcntl(2)." — memfd_create(2)

Using a fractional number of bits per input symbol.  "arithmetic coding
encodes the entire message into a single number, an arbitrary-precision
fraction q where 0 ≤ q < 1"
— https://en.wikipedia.org/wiki/Arithmetic_coding

Persecution of a minority.

gauche   Unsophisticated and socially awkward.
Mid 18th century: French, literally ‘left’.
— https://en.oxforddictionaries.com/definition/gauche
dexterous
Early 17th century (in the sense ‘mentally adroit’): from Latin
dexter ‘on the right’ + -ous.
— https://en.oxforddictionaries.com/definition/dexterous
sinister
Late Middle English (in the sense ‘malicious, underhand’): from
Old French sinistre or Latin sinister ‘left’.
— https://en.oxforddictionaries.com/definition/sinister
cack handed   derogatory   Left-handed.
Mid 19th century: from cack, in the sense ‘excrement’, + hand + -ed.
— htt

Re: [Dorset] Links from Last Night's Pub Meet.

2017-02-08 Thread Ralph Corderoy
Hi Tim,

> Ah, memories of PIP PUN:=CON: in the days of good ol' CP/M

Going back a bit further,
http://www.masswerk.at/misc/card-punch-typography/ explains how IBM card
punches would print the column's character on the top by selectively
pressing down on 35 wires using a "code plate" that was an array of
bumps, many milled off.

Something else that came up last night.  `^', on the `6' key on the
keyboard, was called a caret by some, circumflex by others.  ASCII and
Unicode use circumflex because of its early use from typewriters of
overstriking the following character to give a circumflex accent;  the
carriage wouldn't shift.  But it seems it's from the caret mark added to
text in proofreading to indicate something missing at that point.

Unicode has three;  caret that sits below the text, a caret for
insertion, which is what we still do in handwriting, and a caron, an
inverted caron for above the text, e.g. missing apostrophe.

$ printf a‸b⁁cˇd | iconv -t ucs-2le | hexdump -ve '/2 "%04x\n"'
0061
2038
0062
2041
0063
02c7
0064
$

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2017-03-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Links from Last Night's Pub Meet.

2017-02-08 Thread tda

On 08/02/17 12:44, John Carlyle-Clarke wrote:

Isn't backwards compatibility great? Reminds me of this oddity that still
exists in Windows
http://superuser.com/questions/613313/why-cant-we-make-con-prn-null-folder-in-windows



Ah, memories of PIP PUN:=CON: in the days of good ol' CP/M

Cheers

Tim



On 8 February 2017 at 12:06, Ralph Corderoy  wrote:


Hi,

One main thing;  poking about an NTFS filesystem mounted with ntfs-3g on
a Linux laptop using FUSE.  Many of the files showed a link count of
two, that second field from `ls -l', but there was no second occurrence
of the file's inode number on the filesystem.

ntfs-3g's support forum has an explanation.
http://tuxera.com/forum/viewtopic.php?f=2&t=858&p=
3383&hilit=link+count+2&sid=fa22e085b9df90934edc125c1bcf70bb#p3383
A short 8.3 name is present, but not returned by readdir(3) so can't be
found.  It can be accessed by name, e.g. FOOBAR~1.TXT, if you guess
correctly.  Short names aren't created for new files.

We did think it might be this, but the deception doesn't persist to the
inode-count output of `stat -f'.  That showed a lot less inodes used
than the sum of all the link counts for all the filesystem's contents.

If on Windows, there also seems to be a `fsutil 8dot3name' command to
manipulate the 8.3 name;  that would presumably lower the displayed
count in Linux to one confirming it's the cause.
https://technet.microsoft.com/en-us/library/ff621566%28v=ws.10%29.aspx

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday, 2017-03-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR



--
Next meeting:  Bournemouth, Tuesday, 2017-03-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Links from Last Night's Pub Meet.

2017-02-08 Thread John Carlyle-Clarke
Isn't backwards compatibility great? Reminds me of this oddity that still
exists in Windows
http://superuser.com/questions/613313/why-cant-we-make-con-prn-null-folder-in-windows

On 8 February 2017 at 12:06, Ralph Corderoy  wrote:

> Hi,
>
> One main thing;  poking about an NTFS filesystem mounted with ntfs-3g on
> a Linux laptop using FUSE.  Many of the files showed a link count of
> two, that second field from `ls -l', but there was no second occurrence
> of the file's inode number on the filesystem.
>
> ntfs-3g's support forum has an explanation.
> http://tuxera.com/forum/viewtopic.php?f=2&t=858&p=
> 3383&hilit=link+count+2&sid=fa22e085b9df90934edc125c1bcf70bb#p3383
> A short 8.3 name is present, but not returned by readdir(3) so can't be
> found.  It can be accessed by name, e.g. FOOBAR~1.TXT, if you guess
> correctly.  Short names aren't created for new files.
>
> We did think it might be this, but the deception doesn't persist to the
> inode-count output of `stat -f'.  That showed a lot less inodes used
> than the sum of all the link counts for all the filesystem's contents.
>
> If on Windows, there also seems to be a `fsutil 8dot3name' command to
> manipulate the 8.3 name;  that would presumably lower the displayed
> count in Linux to one confirming it's the cause.
> https://technet.microsoft.com/en-us/library/ff621566%28v=ws.10%29.aspx
>
> Cheers, Ralph.
>
> --
> Next meeting:  Bournemouth, Tuesday, 2017-03-07 20:00
> Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
> New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
> Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR
-- 
Next meeting:  Bournemouth, Tuesday, 2017-03-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

[Dorset] Links from Last Night's Pub Meet.

2017-02-08 Thread Ralph Corderoy
Hi,

One main thing;  poking about an NTFS filesystem mounted with ntfs-3g on
a Linux laptop using FUSE.  Many of the files showed a link count of
two, that second field from `ls -l', but there was no second occurrence
of the file's inode number on the filesystem.

ntfs-3g's support forum has an explanation.
http://tuxera.com/forum/viewtopic.php?f=2&t=858&p=3383&hilit=link+count+2&sid=fa22e085b9df90934edc125c1bcf70bb#p3383
A short 8.3 name is present, but not returned by readdir(3) so can't be
found.  It can be accessed by name, e.g. FOOBAR~1.TXT, if you guess
correctly.  Short names aren't created for new files.

We did think it might be this, but the deception doesn't persist to the
inode-count output of `stat -f'.  That showed a lot less inodes used
than the sum of all the link counts for all the filesystem's contents.

If on Windows, there also seems to be a `fsutil 8dot3name' command to
manipulate the 8.3 name;  that would presumably lower the displayed
count in Linux to one confirming it's the cause.
https://technet.microsoft.com/en-us/library/ff621566%28v=ws.10%29.aspx

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2017-03-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

[Dorset] Links from Last Night's Pub Meet.

2016-08-03 Thread Ralph Corderoy
Hi,

Terry, don't think your searching (Google?) found the first of these;
top hit for me.  The others might be useful to look at given your simple
needs.

http://getbootstrap.com/css/
http://purecss.io/
http://getskeleton.com/

And then https://angularjs.org/ was the bigger framework mentioned, and 
http://diveintohtml5.info/ could give you a useful brief overview of how
things have changd since your last foray.

To generate the https://en.wikipedia.org/wiki/Qr_code for visitors to
open you might want to use the site linked from
http://research.swtch.com/qart so you've an option to make it pictorial.

Natalie's new machine for Android development was from
http://www.pcspecialist.co.uk/.

(Terry's son is still awaiting delivering of the UEFI graphics card from
Amazon.)

That one-line of Go to determine the size of an unsigned integer type in
bytes at compile time.  Not normal Go!  More a puzzle.
https://play.golang.org/p/8H0zyOYQzL

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2016-09-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Links from Last Night's Pub Meet.

2016-05-04 Thread Terry Coles
On Wednesday, 4 May 2016 07:00:17 BST Ralph Corderoy wrote:
> "A quine is a non-empty computer program which takes no input and
> produces a copy of its own source code as its only output." --
> https://en.wikipedia.org/wiki/Quine_%28computing%29
> 
> World War Ⅱ voice encryption used by Allies.  Claude Shannon and Alan
> Turing involved.  One-time pad in the form of a white-noise record.
> Weighed 50 tons.  One installation was 200ft underground beneath
> Selfridges.  https://en.wikipedia.org/wiki/SIGSALY

and:

Film Star Hedy Lamarr (I think I said Dorothy Lamour at the time) who 
indirectly invented the frequency hopping radio:

https://en.wikipedia.org/wiki/Hedy_Lamarr

Apart from that we discussed the merits and demerits of hybrid engines in the 
light of the Chancellor's removal of Road Tax concessions from all but zero 
emissions vehicles:

http://www.which.co.uk/news/2016/03/one-year-left-to-buy-a-hybrid-free-of-car-tax-437790/

I hadn't realised that Chelsea Tractors and other planet killers will actually 
benefit while the greener cars will be penalised.  Someone has their 
priorities back to front.

-- 

Terry Coles



--
Next meeting:  Bournemouth, Tuesday, 2016-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

[Dorset] Links from Last Night's Pub Meet.

2016-05-03 Thread Ralph Corderoy
Hi,

"A quine is a non-empty computer program which takes no input and
produces a copy of its own source code as its only output." --
https://en.wikipedia.org/wiki/Quine_%28computing%29

World War Ⅱ voice encryption used by Allies.  Claude Shannon and Alan
Turing involved.  One-time pad in the form of a white-noise record.
Weighed 50 tons.  One installation was 200ft underground beneath
Selfridges.  https://en.wikipedia.org/wiki/SIGSALY

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday, 2016-06-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Links from Last Night's Pub Meet.

2016-02-04 Thread Keith Edmunds
On Wed, 03 Feb 2016 18:21:52 +, d-...@hadrian-way.co.uk said:

> Is there another way to create a list of 
> packages that can be passed to apt-get, to re-install everything?

/usr/bin/dpkg --get-selections "*" > package.selections

..to save a list of packages. To install that same list:

dpkg --set-selections < package.selections
apt-get -u dselect-upgrade 
-- 
"One can never know for sure what a deserted area looks like" -
George Carlin


--
Next meeting:  Bournemouth, Tuesday, 2016-03-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] Links from Last Night's Pub Meet.

2016-02-03 Thread Terry Coles
On Wednesday 03 February 2016 17:40:46 Peter Merchant wrote:
> And there was  a discussion on using Synaptic to give a list of
> installed packages, which didn't work on Clive's machine (Mint 17).

Yes.  I meant to ask about this, but everyone was busy at the time.  Some years 
ago, I gave Mint a try (this 
was when KDE 4 came out and I was particularly depressed about it).  As it 
happened, I wasn't 
particularly taken with Mint at the time and KDE improved, so I went back to 
Kubuntu.

However, one thing I did like was their upgrade strategy, which at the time was 
not an upgrade at all, but 
a clean install, then re-installation of all the original packages using a 
script containing their identities.  
This was generated by Mint before the upgrade took place.

It seems that the Mint Team abandoned that strategy and went for the regular 
full upgrade as favoured by 
Ubuntu and the like.  Certainly, when I looked, I couldn't find the option and 
that's when we had a look in 
Synaptic, because it has a 'Generate package download script' and I thought 
that might fit the bill (it 
doesn't).

Does anyone remember the tool I saw back around Mint 15 or so?   Is there 
another way to create a list of 
packages that can be passed to apt-get, to re-install everything?

-- 

Terry Coles


--
Next meeting:  Bournemouth, Tuesday, 2016-03-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] Links from Last Night's Pub Meet.

2016-02-03 Thread Peter Merchant

On 03/02/16 13:43, Terry Coles wrote:

On Wednesday 03 February 2016 13:03:12 Ralph Corderoy wrote:

Terry's not getting all he expects from his
https://en.wikipedia.org/wiki/MOSFET and has bought a scope.  Link,
Terry?

http://www.picaxe.com/Hardware/Add-on-Modules/PCB-scope/[1]

And there was  a discussion on using Synaptic to give a list of 
installed packages, which didn't work on Clive's machine (Mint 17).


And discussion of savings and ISA's  at Tesco, NS&I and ?

P.

--
Next meeting:  Bournemouth, Tuesday, 2016-03-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] Links from Last Night's Pub Meet.

2016-02-03 Thread Terry Coles
On Wednesday 03 February 2016 13:03:12 Ralph Corderoy wrote:
> Terry's not getting all he expects from his
> https://en.wikipedia.org/wiki/MOSFET and has bought a scope.  Link,
> Terry?

http://www.picaxe.com/Hardware/Add-on-Modules/PCB-scope/[1] 

> Some oscilloscope traces of a Raspberry Pi's GPIO pulsing, i.e. software
> PWM, showing glitches.
> http://jeelabs.org/2013/06/16/oscilloscope-sampling-rate/index.html
> Aside: That first trace shows an overshoot on 0→1 and an undershoot on
> the return.  I'm used to seeing that rather than a neat square wave and
> thought it was the behaviour of the GPIO pin, but it was suggested it's
> an artifact of the measuring, e.g. scope quality.  Anyone here know?

It could be either.  What you are seeing is 'ringing' or resonance in the 
circuit.  If the scope input is 
properly terminated it can be reduced, but if the GPIO pin is producing the 
ringing then the scope would 
be lying if the overshoot was damped.  Anyone developing a circuit as part of a 
product would be 
expected to identify the cause and resolve it.  If you are just measuring the 
O/P from a pre-existing 
device, then you just have to accept that it's there, if you have the right 
kind of probe.

That looks like a 3.3 V logic signal and the overshoots do not stray anywhere 
near the thresholds for a '0' 
or a '1', (typically 0.8 V and 2 V respectively), so I would be inclined to 
ignore them.

> More Pi PWM!  How the pthread-based RPi.GPIO does its calculations.
> Also, it works out how long to sleep, and ignores any overrun, e.g. the
> Zero's single core was busy running the Linux kernel or Python, and so
> the signal will stretch rather than shorten the next to compensate.
> http://sourceforge.net/p/raspberry-gpio-python/code/ci/default/tree/source/s
> oft_pwm.c#l173

Thanks.

-- 

Terry Coles




[1] http://www.picaxe.com/Hardware/Add-on-Modules/PCB-scope/
--
Next meeting:  Bournemouth, Tuesday, 2016-03-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

[Dorset] Links from Last Night's Pub Meet.

2016-02-03 Thread Ralph Corderoy
Hi,

Draw circuits with pixels.  A power source is a 2x2 block.  Crossing
wires that don't interconnect simply miss out the common pixel.
Transistors are T junctions, and drop the wire's current by one.
Iterate the circuit until a state is seen for the second time;  that
defines the animated GIF.
https://github.com/martinkirsche/wired-logic#readme
His example, use the browser to zoom in, is
https://raw.githubusercontent.com/martinkirsche/wired-logic/master/examples/output.gif
Note the cross hatching to draw the seven-segment LED.  :-)

Terry's not getting all he expects from his
https://en.wikipedia.org/wiki/MOSFET and has bought a scope.  Link,
Terry?

Some oscilloscope traces of a Raspberry Pi's GPIO pulsing, i.e. software
PWM, showing glitches.
http://jeelabs.org/2013/06/16/oscilloscope-sampling-rate/index.html
Aside: That first trace shows an overshoot on 0→1 and an undershoot on
the return.  I'm used to seeing that rather than a neat square wave and
thought it was the behaviour of the GPIO pin, but it was suggested it's
an artifact of the measuring, e.g. scope quality.  Anyone here know?

Speed, ignoring glitches, of software PWM on the Pi with different
software, e.g. /bin/sh v. C.
http://codeandlife.com/2012/07/03/benchmarking-raspberry-pi-gpio-speed/

More Pi PWM!  How the pthread-based RPi.GPIO does its calculations.
Also, it works out how long to sleep, and ignores any overrun, e.g. the
Zero's single core was busy running the Linux kernel or Python, and so
the signal will stretch rather than shorten the next to compensate.
http://sourceforge.net/p/raspberry-gpio-python/code/ci/default/tree/source/soft_pwm.c#l173

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday, 2016-03-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR

Re: [Dorset] Links from Last Night's Pub Meet.

2015-10-08 Thread Ralph Corderoy
Hi Peter,

> > > Haven't seen this, but might be interesting.  Marcus du Sautoy
> > > spends an hour looking at algorithms for the layman.  60 minutes.
> > > Available for about another three weeks, but get_iplayer could
> > > always just save it to disk until you've spare time.
> > > http://www.bbc.co.uk/iplayer/episode/p030s6b3/the-secret-rules-of-modern-living-algorithms
>
> I watched this. Didn't get much out of it. Dumbed down for the average
> TV viewer.

Well, it was never going to be OU beards and sandals on a Sunday
morning.  :-)  I've seen most of it now, and it's got across Euclid's
Algorithm, though not why it works, and has gone through Bubble Sort and
Merge Sort, showing they differ greatly as N increases.  Now it's on to
categorising problems into "hardness" and how some haven't been
categorised yet.  I've learnt nothing, but it's been enjoyable and worth
sending onto my relatives who wonder what it is I do exactly.

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday, 2015-11-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] Links from Last Night's Pub Meet.

2015-10-07 Thread Peter Merchant
I watched this. Didn't get much out of it. Dumbed down for the average 
TV viewer.


Peter

Haven't seen this, but might be interesting.  Marcus du Sautoy spends an
hour looking at algorithms for the layman.  60 minutes.  Available for
about another three weeks, but get_iplayer could always just save it to
disk until you've spare time.
http://www.bbc.co.uk/iplayer/episode/p030s6b3/the-secret-rules-of-modern-liv
ing-algorithms






--
Next meeting:  Bournemouth, Tuesday, 2015-11-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


Re: [Dorset] Links from Last Night's Pub Meet.

2015-10-07 Thread Terry Coles
Some additions from the other table:

On Wednesday 07 Oct 2015 09:41:01 Ralph Corderoy wrote:
> I'd never heard of this, but Terry was passing through at the time.
> https://en.wikipedia.org/wiki/1964_Aberdeen_typhoid_outbreak

I hadn't realised it was '64; I was 14 then!
 
> Haven't seen this, but might be interesting.  Marcus du Sautoy spends an
> hour looking at algorithms for the layman.  60 minutes.  Available for
> about another three weeks, but get_iplayer could always just save it to
> disk until you've spare time.
> http://www.bbc.co.uk/iplayer/episode/p030s6b3/the-secret-rules-of-modern-liv
> ing-algorithms
> 
> I was asked about some of the uses of directories on the disk.
> https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard explains
> some of them.

Chris inveigled me into trying idAngels: https://idangels.net/about.php[1] 
which he is complicit in :-)

We talked about Dorset Explorer: http://explorer.geowessex.com/[2] 
which allows you to view OS mapping (amongst other this and overlay other date 
on 
top, such as 1800s historic mapping or flood risk areas.

We talked about historic computers, such as the BBC Micro and Amiga, plus the 
use of some fairly ancient languages.

We discussed SSD Drives and the use of noatime, relatime, discard and fstrim.  
You 
may recall that I raised this originally on this list some time ago under the 
tread 
'Using 2.5" SSD Drives in a 3.5" enclosure'.

Anything else I forgot?

-- 

Terry Coles




[1] https://idangels.net/about.php
[2] http://explorer.geowessex.com/
--
Next meeting:  Bournemouth, Tuesday, 2015-11-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR


[Dorset] Links from Last Night's Pub Meet.

2015-10-07 Thread Ralph Corderoy
Hi,

I'd never heard of this, but Terry was passing through at the time.
https://en.wikipedia.org/wiki/1964_Aberdeen_typhoid_outbreak

Haven't seen this, but might be interesting.  Marcus du Sautoy spends an
hour looking at algorithms for the layman.  60 minutes.  Available for
about another three weeks, but get_iplayer could always just save it to
disk until you've spare time.
http://www.bbc.co.uk/iplayer/episode/p030s6b3/the-secret-rules-of-modern-living-algorithms

I was asked about some of the uses of directories on the disk.
https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard explains
some of them.

Cheers, Ralph.

--
Next meeting:  Bournemouth, Tuesday, 2015-11-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue / TO THE LIST OR THE AUTHOR