| Andrew Cooke | Contents | Latest | RSS | Twitter | Previous | Next

C[omp]ute

Welcome to my blog, which was once a mailing list of the same name and is still generated by mail. Please reply via the "comment" links.

Always interested in offers/projects/new ideas. Eclectic experience in fields like: numerical computing; Python web; Java enterprise; functional languages; GPGPU; SQL databases; etc. Based in Santiago, Chile; telecommute worldwide. CV; email.

Personal Projects

Lepl parser for Python.

Colorless Green.

Photography around Santiago.

SVG experiment.

Professional Portfolio

Calibration of seismometers.

Data access via web services.

Cache rewrite.

Extending OpenSSH.

C-ORM: docs, API.

Last 100 entries

An Easier Way; Julia's BinDeps (aka How To Install Cairo); Good Example Of Good Police Work (And Anonymity Being Hard); Best Santiago Burgers; Also; Michael Emmerich (Vibrator Translator) Interview (Japanese Books); Clarice Lispector (Brazillian Writer); Books On Evolution; Looks like Ara (Modular Phone) is dead; Index - Translations From Chile; More Emotion in Chilean Wines; Week 7; Aeon Magazine (Science-ish); QM, Deutsch, Constructor Theory; Interesting Talk Transcripts; Interesting Suggestion Of Election Fraud; "Hard" Books; Articles or Papers on depolarizing the US; Textbook for "QM as complex probabilities"; SFO Get Libor Trader (14 years); Why Are There Still So Many Jobs?; Navier Stokes Incomplete; More on Benford; FBI Claimed Vandalism; Architectural Tessellation; Also: Go, Blake's 7; Delusions of Gender (book); Crypto AG DID work with NSA / GCHQ; UNUMS (Universal Number Format); MOOCs (Massive Open Online Courses); Interesting Looking Game; Euler's Theorem for Polynomials; Weeks 3-6; Reddit Comment; Differential Cryptanalysis For Dummies; Japanese Graphic Design; Books To Be Re-Read; And Today I Learned Bugs Need Clear Examples; Factoring a 67 bit prime in your head; Islamic Geometric Art; Useful Julia Backtraces from Tasks; Nothing, however, is lost with less discomfort than that which, when lost, cannot be missed; Article on Didion; Cost of Living by City; British Slavery; Derrida on Metaphor; African SciFi; Traits in Julia; Alternative Japanese Lit; Pulic Key as Address (Snow); Why Information Grows; The Blindness Of The Chilean Elite; Some Victoriagate Links; This Is Why I Left StackOverflow; New TLS Implementation; Maths for Physicists; How I Am 8; 1000 Word Philosophy; Cyberpunk Reading List; Detailed Discussion of Message Dispatch in ParserCombinator Library for Julia; FizzBuzz in Julia w Dependent Types; kokko - Design Shop in Osaka; Summary of Greece, Currently; LLVM and GPUs; See Also; Schoolgirl Groyps (Maths); Japanese Lit; Another Example - Modular Arithmetic; Music from United; Python 2 and 3 compatible alternative.; Read Agatha Christie for the Plot; A Constructive Look at TempleOS; Music Thread w Many Recommendations; Fixed Version; A Useful Julia Macro To Define Equality And Hash; k3b cdrom access, OpenSuse 13.1; Week 2; From outside, the UK looks less than stellar; Huge Fonts in VirtualBox; Keen - Complex Emergencies; The Fallen of World War II; Some Spanish Fiction; Calling C From Fortran 95; Bjork DJ Set; Z3 Example With Python; Week 1; Useful Guide To Starting With IJulia; UK Election + Media; Review: Reinventing Organizations; Inline Assembly With Julia / LLVM; Against the definition of types; Dumb Crypto Paper; The Search For Quasi-Periodicity...; Is There An Alternative To Processing?; CARDIAC (CARDboard Illustrative Aid to Computation); The Bolivian Case Against Chile At The Hague; Clear, Cogent Economic Arguments For Immigration; A Program To Say If I Am Working; Decent Cards For Ill People; New Photo; Luksic And Barrick Gold

© 2006-2015 Andrew Cooke (site) / post authors (content).

Logitech Squeezebox Boom on OpenSuse

From: "andrew cooke" <andrew@...>

Date: Mon, 22 Dec 2008 20:42:42 -0300 (CLST)

I just came back from the States, where I bought myself a new toy -
http://www.slimdevices.com/pi_boom.html

So far I am *very* happy with this - I played music from the internet
(mainly KEXP and BBC Radio 6) in my hotel room, and am now listening to
the music stored on my server (everything, shuffled - currently playing
Devendra Banhart).

The build quality is very good (the shiny black shows fingerprints like
crazy, but the main interface panel is a matt black which is much better).
 There's a cute little remote control that sits magnetically on the
(sloping) top of the unit when not in use.  It feels very "solid" and the
power supply is variable voltage (so works fine in the USA and Chile,
although you need a pin adapter).  It's slightly smaller than I expected
from the photos.

The sound quality is pretty good.  Better than I expected, to be honest. 
It has quite good extension without being "boomy".  The treble is a little
harsh, I think, but my ears are old, so what do I know?

Curiously I just tried it with headphones and it doesn't sound that good
at all (Sennheiser HD 555s), but the system I making comparison with is
perhaps unfair - at my computer I listen to a fairly expensive (semi-pro
M-Audio) card through an old Mission Cyrus amp (so old I've had to bridge
the volume and input selectors... :o)  There's no bass (you can hardly
hear the bass drum in the Pogues track currently playing); the voice is
too far forwards/harsh; generally the sound is "flat".  Note - I also
tried swapping the power supply to a transformer (rather than the switch
mode box supplied), wondering if noise was responsible for the harshness,
but it made no difference.

Anyway, despite that negative detour, it does sounds good for a small box
radio.

The standalone setup/interface is a dream.  You plug it in and the display
guides you through obtaining an interface (entering text by hand is a
royal pain, selecting letter by letter with the knob, but thankfully not
necessary in normal use - when using WiFi a list of SSIDs is displayed,
for example).

You do need to have a computer to register the player on "SqueezeNetwork".
 But once you do that a slew of radios are provided via menus (the central
knob scans through menu lists; pressing the knob selects an option; there
are also separate forward/back buttons).

So my only worry there is that this requires Logitech's SqueezeNetwork
service to exist.

You can also control the player via Logitech's web site (I am not being
very clear here, but "SqueezeNetwork" is both the name of the central list
of stations and a web site that lets you control the player, modify menus,
etc).  For example, there is support, via the SqueezeNetwork website, for
last.fm and pandora (but they are both blocked in Chile which is why I
have started pirating music, incidentally - for freaking *years* I was the
only person I knew who bought all the music they ripped... but killing
Pandora was the last straw)

Anyway.  You can also install software on your own computer to expose the
music you have stored there.  For opensuse I did the following:

- Download the rpm from the SquezeNetwork site -
http://www.slimdevices.com/su_downloads.html

- Add the directory containing that RPM as a local repository (in Yast go
to the repository manager and add a local directory as a simple RPM
repository).

- That lets you then select "squeezecenter" in Yast as a piece of software
to install (which should also load dependencies like MySQL, Perl etc)

- Once installed, you need to enable and start the service.  As root:
  # chckconfig -a squeezecenter
  # /etc/init.d/squeezecenter start

- The interface is a website on http://localhost:9000 - go there and
select the directory where your music is stored.  Note that the software
does take some time to index the files, if you have a few - if the
interface seems very unresponsive, wait a while.

- Finally, open up firewall ports listed here -
http://www.slimdevices.com/su_faq.html#networking

- With that done you can connect to "SqueezeCenter" (as opposed to
"SqueezeNetwork") when starting the radio (to reset, by the way, hold down
the power button for a few seconds).  Note that I did have to enter the
address of my server on the local network.

As I write all this I start to see how complex the whole system is. 
Despite that, it has been very easy to use.  Obviously I have a lot of
experience with computers; perhaps my parents would be more confused (but
then they would also be using the Mac install, which is probably
simpler...).

The SqueezeCenter web interface is only so-so.  Compared to SqueezeNetwork
it's much less polished.  But this is a huge advance on my previous
attempts to use Apple's Airport Express with Linux.

In summary - if this continues to be as good as it has been so far I will
be buying a SqueezeBox for the hifi...

Andrew

SqueezeCenter gets better!

From: "andrew cooke" <andrew@...>

Date: Mon, 22 Dec 2008 20:53:33 -0300 (CLST)

I just re-opened the local SqueezeCenter website and it's showing much
more info, and being more responsive, now.  Looks like it was still busy
building up the database of tracks when I posted earlier.

This is great :o)

Andrew

SqueezeCenter/SqueezeNetwork

From: "andrew cooke" <andrew@...>

Date: Tue, 23 Dec 2008 08:19:51 -0300 (CLST)

After playing around some more, I am starting to see the radio more as an
interface to remote software than a computer in its own right.  This seems
to better explain how it behaves.

So selecting "SqueezeCenter" makes it an interface to the software running
on my own computer; selecting "SqueezeNetwork" makes it an interface to
the software running on Logitech's computer.

Both programs (the one running on my computer, called SqueezeCenter, and
the one running on Logitech's, called SqueezeNetwork) have their own
settings.  So the list of favourites, or the screen brightness, or the
date format, for examples, can depend on which is chosen.

Things are slightly more complicated as the player itself appears to have
some memory, and the SqueezeCenter software by default attempts to
synchronise with SqueezeNetwork.

This may seem like irrelevant details. but it helps understand why, for
example, when you are connected to SqueezeCenter, you get a menu option
for SqueezeNetwork (and vice versa), and why switching causes the radio to
"blank out" for a second.  It also helps explain why some settings don't
always seem to apply.

Andrew

Separate DAC for Headphones

From: "andrew cooke" <andrew@...>

Date: Tue, 23 Dec 2008 08:38:21 -0300 (CLST)

There's a white paper on the audio design -
http://wiki.slimdevices.com/uploads/a/ad/Logitech_Squeezebox_Boom_Audio_Design.pdf
- which explains that there's a separate DAC for the headphones.  I guess
that explains how it's possible for the unit itself to sound so much
better through its own speakers than it does through headphones.

Listening normally (ie with the speakers) at low volume levels really is
very good - last night, for the first time ever, I actually enjoyed
Bitches Brew!

Andrew

Command line player for listening to SqueezeCentre on Linux

From: "andrew cooke" <andrew@...>

Date: Wed, 31 Dec 2008 18:01:01 -0300 (CLST)

When I am working at my computer the Boom is in the other room.  But it's
possible for the computer itself to connect to the SqueezeCentre software.
 The URL is http://localhost:9000/stream.mp3

You can use any software to listen, but if you like doing stuff from the
command line, the following works (just hit return again in the same
window to stop it):

  mplayer http://localhost:9000/stream.mp3 > /dev/null 2>&1

(Volume has to be controlled by a volume/mixer tool, but only needs
setting once).

Andrew

Comment on this post