Andrew Cooke | Contents | RSS | Twitter | Previous

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.

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

[Link, Computing] Useful gcc flags

From: andrew cooke <andrew@...>

Date: Sat, 16 Sep 2017 22:02:55 -0300

https://kristerw.blogspot.cl/2017/09/useful-gcc-warning-options-not-enabled.html

Andrew

Permalink | Comment on this post

Previous Entries

For comments, see relevant pages (permalinks).

[Link] Voynich Manuscript Decoded

From: andrew cooke <andrew@...>

Date: Fri, 8 Sep 2017 21:45:31 -0300

It's just a medical book.  The text is very abbreviated.  That's all.

https://arstechnica.com/science/2017/09/the-mysterious-voynich-manuscript-has-finally-been-decoded/

Andrew

Permalink

[Bike] Notes on Servicing Suspension Forks

From: andrew cooke <andrew@...>

Date: Sat, 2 Sep 2017 10:44:17 -0300

[Note: this is based on my experience with a Rockshox 2016 SID RCT3,
so some details may not apply to other models or makes.]


Instructions

Rockshox provide detailed instructions that depend on the model year.
See https://www.sram.com/service/rockshox/all

Youtube also has many videos of people servicing forks, but it's
difficult to be sure of the exact model and year, so while they're
useful to give a general idea, some of the details can be wrong (for
example, there's an official Rockshox video that gives torque figures
that are completely wrong for my fork).

When you have the service manual, read through it several times.
There's a lot of information in there and it's better to understand
what you are doing before you open up the fork.


Parts

For my fork, at least, there are three types of parts kit, for
different types of service:

 * A full kit that contains seals, washers, valves - almost everything
   in the fork except for the "big" components (stanchions, lower,
   damper, rods).
   https://www.google.com/search?q=114018018001

 * A basic kit that contains the seals and washers needed for a normal
   (complete) service.
   https://www.google.com/search?q=004315032430
  
 * A dust seal kit that contains only the rings and seals at the top
   of the outers (don't have a part number for this).
   https://www.amazon.com/dp/B00H65GFMO

You can also buy multipacks of individual components, like foam rings
and crush washers.

Again: the above is for MY fork.  Your fork will require something
different.

Finding exactly which kit works for your fork can be difficult.  I
suggest starting on Amazon and then cross-checking part numbers until
you find consistent descriptions across several sites.  The Rockshox
parts catalogue may also be useful:
https://www.google.com/search?q=rockshox+parts+catalogue

In addition to the components above you need tools, alcohol (to
clean), oil and grease.  I use the Rockshox "butter" grease (even
though it's quite expensive), but generic (typically LiquiMoly) oils
of the correct weights (my fork takes two weights - a lighter oil for
the damper and a heavier one for lubricating the outers).


Types of Service

There are two kinds of service generally discussed:

 * You always remove the lowers and replace the foam rings and
   lubricating oil.  This makes sure the lowers are correctly
   lubricated.  For this, it may be worth buying packs of foam rings,
   crush washers, and the metal parts that go on the washers (these
   last two are the washers at the bottom of the lowers which you
   should really replace each time you remove the lowers because - as
   their name suggests - they deform on use).

 * With the lowers removed you can also service each fork leg
   separately.  However, the basic kit contains parts for both, so
   it's generally worth servicing the two sides together.  This means
   taking each side apart, cleaning, and re-assembling with new seals.

You can also take the forks apart to inspect them if you're trying to
solve some problem.  This generally involves removing the lowers first.


Servicing Tips

 * Take your time!  There's a lot of details to get right.  It's
   better to do everything slowly and double check than have a fork
   that doesn't work.

 * Clean your forks before disassembly - you don't want any dirt stuck
   around the top caps that ends up dropping into the inners.

 * The basic kit contains some seals that are almost-but-not-quite the
   same size as others.  Compare carefully so that you use exactly the
   right size.

 * To remove the lowers, after loosening the screws slightly, you need
   to hammer the screws to "unstick" the rods (see service manual).
   This takes a worrying amount of violence (I don't have a rubber
   mallet so use a steel hammer with a piece of wood to soften the
   blow).  When it does work the lowers come off quite easily.

 * Be very careful that the circlips are clicked completely into place
   when you re-assemble.

 * Getting the damper rod with the glide ring inserted correctly is
   particularly tricky.  Just keep fiddling and suddenly - eventually
   - it will slide in easily.

 * The amount of damping oil is specified in two ways in the manual -
   the total amount and the depth below the crown.  The easiest way to
   measure is (with the rod fully extended and the fork held
   vertically) to use a screwdriver as a "dipstick".  Rest the end of
   the handle of the screwdriver on the crown so that the blade is
   inside the fork, extending down to the oil level.  Then remove and
   measure the distance between handle and oil.

 * If you do the above, check for consistency by first filling with
   the correct volume.  It's not completely clear to me exactly where
   on the crown to measure from, so having a second measurement to
   check gives more certainty.

 * To remove a little damping oil you can use a (clean!) drinks straw
   - insert the straw into the oil then place your finger over the end
   and remove.

 * While the manual rebuilds one leg at a time I find it easier to
   completely disassemble the fork (both legs) and then rebuild.  But
   you need to be careful that you still follow all the instructions.

 * The screw that holds the LSC knob in place can come loose (and you
   lose knob and screw).  You can buy a replacement, but consider
   using locktite or placing a small patch of tape over the knob and
   screw (weirdly it's difficult to bug locktite in Chile...)

 * Not really a fork service tip, but black electrical tape is a much
   simpler and more reliable way to hold the brake hose in place than
   the fiddly clamp on the fork.

 * When replacing the lowers you add lubricating oil through the screw
   holes at the bottom.  Before doing this, make sure that the rods
   that connect to the screws are not blocking the holes!  In other
   words, before replacing the lowers press the two rods into the
   uppers (the damper rod won't go so far, but it's enough).

 * If you've pushed in the air rod (see above) when replacing the
   lowers, add a little air to push it back out before trying to
   connect the screws.

 * As far as I can tell the basic kit contains a couple of items you
   don't need / use.  I assume these are for other models.

 * If you do get seal sizes mixed up then next service you can't just
   match seals with what you used before (because they were wrong!).
   One solution is to buy the full service kit - at least the one I
   have has the seals divided by type, so it's clearer which one goes
   where.


Known Problems

These are mistakes I have made:

 * If a circlip is not correctly in place it may come undone when the
   fork is loaded.  On the air spring side this means that there is no
   negative spring - when unloaded the fork goes to full extension and
   does a hard stop.

 * If the damper rod is not fully extended when you replace the damper
   then (as far as I can tell - I have not seen this documented
   anywhere) the damper will have a partial vacuum when fully extended
   which reduces rebound.  The end result is that your fork has too
   much sag / not enough travel.

 * If you pressurise the damper without the nut on (at the top,
   holding the settings dial in place) then a shaft (and oil) can come
   flying out.  The shaft connects the LSC knob to the bottom of the
   damper and is easy to replace.  However, at the top it has a
   drilled hole that should contain two ball bearings separated by a
   spring.  Without these you don't get "clicks" when rotating the LSC
   knob.

 * If you use the wrong size (slightly) seal on the air piston then it
   starts to leak air after a few uses.

 * If the screw holes are blocked and you squirt lubricating oil in
   anyway (see tips above) the oil ends up in the "outside" ends of
   the lowers, and you'll see it dripping on the floor when you have
   the fork back on the bike.


I hope this is useful to someone and saves them from learning by (so
many!) mistakes,

Andrew

Permalink

[Link, Computing] Oracle is leaving Java (to die)

From: andrew cooke <andrew@...>

Date: Sun, 20 Aug 2017 13:50:23 -0300

https://www.bleepingcomputer.com/news/technology/oracle-wants-to-give-java-ee-to-the-open-source-community/

Andrew

Permalink

[Link, Politics] Cubans + Ultrasonics

From: andrew cooke <andrew@...>

Date: Wed, 9 Aug 2017 20:02:03 -0400

I wonder if this was perhaps a listening device?  Somehow ultrasonics
are modulated by normal conversation?

http://www.bbc.com/news/world-us-canada-40883020

Andrew

Permalink

[Book, Link] Laurent Binet

From: andrew cooke <andrew@...>

Date: Tue, 8 Aug 2017 13:32:13 -0400

https://www.lrb.co.uk/v39/n12/christopher-tayler/episteme-my-arse
https://www.theguardian.com/books/2012/may/16/hhhh-laurent-binet-review

Andrew

Permalink

[Book, Link] No One's Ways

From: andrew cooke <andrew@...>

Date: Sat, 5 Aug 2017 16:29:37 -0400

Saw this book advertised in the LRB - might be interesting.

https://lareviewofbooks.org/article/speak-therefore-daniel-heller-roazens-no-ones-ways/

Andrew

Permalink

[Link] The Biggest Problem For Cyclists Is Bad Driving

From: andrew cooke <andrew@...>

Date: Sat, 5 Aug 2017 08:30:57 -0400

“We believe this report strongly supports our view that the biggest
problem for cyclists is bad driving. With that in mind we are greatly
concerned that the government still seems fascinated with analysing
and promoting cycle helmets, the value of which appears to be
inconclusive. We believe that the government should now focus on
tackling the causes of injury which appears to be mainly inconsiderate
and dangerous driving. Reduced speed limits, stronger traffic law
enforcement and cycle-friendly road design are the solutions.”

http://bike-accidents.com/2017/08/04/risky-cycling-rarely-to-blame-for-bike-accidents-study-finds/

Andrew

Permalink

[Computing] Doxygen, Sphinx, Breathe

From: andrew cooke <andrew@...>

Date: Thu, 3 Aug 2017 20:03:04 -0400

Spent some time playing around with Doyxgen, Sphinx and Breathe.

The pipeline is:

  * Write docs in Doxygen as normal

  * Run Doxygen to generate xml output

  * Write Sphinx framework (mainly near-empty pages) that use 
    Breate, as a Sphinx plugin, to pull docs from Doxygen XML 
    (instead of from Python).

There's also a script that generates the PShinx outline
(breathe-apidoc.py), but it didn't seem to make much sense to me
(maybe I misunderstood).

Anyway, it's no good.  It almost works, but Breathe is buggy and
unsupported, so you end up with gaps (no structs...) and weird
inconsistencies.

I guess next I need to try improving Doxygen CSS.

Breathe:
https://breathe.readthedocs.io/en/latest
https://github.com/michaeljones/breathe

Andrew

Permalink

[Admin] Brokw Recent Permalinks

From: andrew cooke <andrew@...>

Date: Thu, 3 Aug 2017 19:56:55 -0400

Decided to remove (new) tags from permalinks which has broken them.  I
don't think anyone much reads this, so hopefully no harm done.  Going
forwards things will work better (tags made permalinks practically
identical for different posts).

Andrew

Permalink

[Bike, Chile] Buying Bearings in Santiago

From: andrew cooke <andrew@...>

Date: Thu, 3 Aug 2017 19:34:50 -0400

You can buy bearings - any size, as many as you want - in the shops
along Vergara, just to the south of Alameda (near Los Heroes).  In
particular, maybe 4 or 5 shops in on the east side, there's a place
with dark blue signs with white writing that was very helpful.

They're called "bolitas" and 3/32" is just "tres treinta y dos".

I spent about $1.700 on 100x3/32, 2x1/8 and 2x3mm (so about $17 each).

Andrew

Permalink