| 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

Pinochet: The Dictator's Shadow; An Outsider's Guide To Julia Packages; Nobody gives a shit; Lepton Decay Irregularity; 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

© 2006-2015 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