Andrew Cooke | Contents | Latest | RSS | 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

Choochoo Training Diary

Last 100 entries

Surprise Paradox; [Books] Good Author List; [Computing] Efficient queries with grouping in Postgres; [Computing] Automatic Wake (Linux); [Computing] AWS CDK Aspects in Go; [Bike] Adidas Gravel Shoes; [Computing, Horror] Biological Chips; [Books] Weird Lit Recs; [Covid] Extended SIR Models; [Art] York-based Printmaker; [Physics] Quantum Transitions are not Instantaneous; [Computing] AI and Drum Machines; [Computing] Probabilities, Stopping Times, Martingales; bpftrace Intro Article; [Computing] Starlab Systems - Linux Laptops; [Computing] Extended Berkeley Packet Filter; [Green] Mainspring Linear Generator; Better Approach; Rummikub Solver; Chilean Poetry; Felicitations - Empowerment Grant; [Bike] Fixing Spyre Brakes (That Need Constant Adjustment); [Computing, Music] Raspberry Pi Media (Audio) Streamer; [Computing] Amazing Hack To Embed DSL In Python; [Bike] Ruta Del Condor (El Alfalfal); [Bike] Estimating Power On Climbs; [Computing] Applying Azure B2C Authentication To Function Apps; [Bike] Gearing On The Back Of An Envelope; [Computing] Okular and Postscript in OpenSuse; There's a fix!; [Computing] Fail2Ban on OpenSuse Leap 15.3 (NFTables); [Cycling, Computing] Power Calculation and Brakes; [Hardware, Computing] Amazing Pockit Computer; Bullying; How I Am - 3 Years Post Accident, 8+ Years With MS; [USA Politics] In America's Uncivil War Republicans Are The Aggressors; [Programming] Selenium and Python; Better Walking Data; [Bike] How Fast Before Walking More Efficient Than Cycling?; [COVID] Coronavirus And Cycling; [Programming] Docker on OpenSuse; Cadence v Speed; [Bike] Gearing For Real Cyclists; [Programming] React plotting - visx; [Programming] React Leaflet; AliExpress Independent Sellers; Applebaum - Twilight of Democracy; [Politics] Back + US Elections; [Programming,Exercise] Simple Timer Script; [News] 2019: The year revolt went global; [Politics] The world's most-surveilled cities; [Bike] Hope Freehub; [Restaurant] Mama Chau's (Chinese, Providencia); [Politics] Brexit Podcast; [Diary] Pneumonia; [Politics] Britain's Reichstag Fire moment; install cairo; [Programming] GCC Sanitizer Flags; [GPU, Programming] Per-Thread Program Counters; My Bike Accident - Looking Back One Year; [Python] Geographic heights are incredibly easy!; [Cooking] Cookie Recipe; Efficient, Simple, Directed Maximisation of Noisy Function; And for argparse; Bash Completion in Python; [Computing] Configuring Github Jekyll Locally; [Maths, Link] The Napkin Project; You can Masquerade in Firewalld; [Bike] Servicing Budget (Spring) Forks; [Crypto] CIA Internet Comms Failure; [Python] Cute Rate Limiting API; [Causality] Judea Pearl Lecture; [Security, Computing] Chinese Hardware Hack Of Supermicro Boards; SQLAlchemy Joined Table Inheritance and Delete Cascade; [Translation] The Club; [Computing] Super Potato Bruh; [Computing] Extending Jupyter; Further HRM Details; [Computing, Bike] Activities in ch2; [Books, Link] Modern Japanese Lit; What ended up there; [Link, Book] Logic Book; Update - Garmin Express / Connect; Garmin Forerunner 35 v 230; [Link, Politics, Internet] Government Trolls; [Link, Politics] Why identity politics benefits the right more than the left; SSH Forwarding; A Specification For Repeating Events; A Fight for the Soul of Science; [Science, Book, Link] Lost In Math; OpenSuse Leap 15 Network Fixes; Update; [Book] Galileo's Middle Finger; [Bike] Chinese Carbon Rims; [Bike] Servicing Shimano XT Front Hub HB-M8010; [Bike] Aliexpress Cycling Tops; [Computing] Change to ssh handling of multiple identities?; [Bike] Endura Hummvee Lite II; [Computing] Marble Based Logic; [Link, Politics] Sanity Check For Nuclear Launch; [Link, Science] Entropy and Life

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

Shoddy Macs

From: andrew cooke <andrew@...>

Date: Thu, 2 Feb 2012 18:18:25 -0300

How can any self-respecting engineer buy a computer where they *glue* the
cable to the disk?  These aren't machines made for people that take things
apart - they're made for *consumers* that never expect to get their hands
dirty.

Mac owning engineers: you're selling your souls for a shiny trinket.  These
aren't machines made, and made well, to be cared for.  They are intended as
disposable trophies.  Polished turds.

You should be ashamed of yourselves.  Really.

(Pauli's Macbook Pro is dead and I have it in pieces).

Andrew

Reinstalling OSX via Linux

From: andrew cooke <andrew@...>

Date: Sat, 4 Feb 2012 05:04:00 -0300

Pauli's Mac seems to be dead, but we've got hold of another, much more recent
MBP that "probably just needs OSX to be reinstalled".  It powers up, but
doesn't boot.  And there are no disks.

So I downloaded a torrent from PB, but had problems mounting the dmg file on
Linux (or an image created from it - see below).  As far as I understand it, a
dmg file is a compressed HFS+ file system, and an OSX install includes an ISO
image in a directory of that FS.  So you need to mount the FS, find the ISO,
and burn that - which is tricky if the FS won't mount on Linux (it's not clear
if the problem is Linux, or me).

But the second attempt using, I think,
http://thepiratebay.se/torrent/6823078/Mac.OSX.Lion.10.7.2-ADDiCT
was more successful.  That is a xar archive, rather than a dmg file, and you
can unpack it with xar from http://code.google.com/p/xar/

Unpacking showed a directory called InstallMacOSX.pkg, which included
InstallESD.dmg, which is a dmg compressed ISO image.

I then uncompressed InstallESD.dmg using dmg2img from
http://vu1tur.eu.org/tools/ which generated a "real" ISO.  Finally, I burnt
that to a DVD using cdrecord.  The MBP then boots from that and installs fine
- although it's just very slow compared with a Linux install (I don't know if
that's a real difference, or just because there's little feedback and long
periods of nothing but a spinning icon, or because I'm spoilt by recent
installs to SSD).

And I don't think the above is particularly illegal (the MBP would originally
have come with install disks), except that perhaps I have a more recent
version of the software than the original (I did try with Pauli's old disks,
but it wouldn't boot from those at all - I guess they were much too old).

Of course, it would all be much easier if we had a working Mac or the original
disks.

Andrew

Comment on this post